[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LocateLineMatching madness
From: |
Steve Wray |
Subject: |
Re: LocateLineMatching madness |
Date: |
Thu, 6 May 2004 11:01:53 +1200 |
User-agent: |
KMail/1.6.1 |
On Thursday 06 May 2004 09:45, Tod Oace wrote:
> On May 5, 2004, at 05:40, Alexander Jolk wrote:
[snip]
>
> Seems like it would be nice if we had something like:
>
> ReplaceAllLinesMatching "URI.*" With "URI ldap://localhost/"
>
> That *seems* convergent and safe to me but maybe someone else can see
> a problem with it. If it doesn't work, how about:
>
> CompleteAllLinesBeginning "URI " With "ldap://localhost/"
Actually, I'd been thinking it would be *really* nice to have some sort
of 'capture' functionality ie;
ReplaceRegexMatching "(URI ldap://)foo/" "\1bar/"
so we would go from a line
URI ldap://foo
to a line;
URI ldap://bar
Not a fantastic example, but you get the picture.