> -----Original Message-----
> From: Bouckaert, Hugo [mailto:Hugo.Bouckaert@...]
> Sent: Wednesday, August 31, 2005 1:44 AM
> To: vim@...
> Subject: Substitution problem
> I have a minor irritating problem with substitution I can't
> seem to get
> right. I want to substitute:
> But the problem is that I also have a string
> "lv_postal_street2" so that
> for lv_postal_street2 it also substitutes "r_bio.postal_street".
> I tried
> i.e. "lv_postal_street", "not followed by 2" but it does not work.
> Any ideas?
You got two great answers, but I thought I'd amplify. The reason your
original didn't work was that [^2] specifies that there *must* be a
character following the rest of the string, just not a '2'.