John H. Robinson, IV wrote:
Ralph Shumaker wrote:
Ralph Shumaker wrote:
Examples:
^9And ...
^10 For ...
Needed to be:
^9 And ...
^10 For ...
If I had thought about regexen _before_ I did *any* insertions of a space
(Emphasis *added*.)
between the numeric and the alpha, then I wouldn't even have needed to
qualify the alpha,
Except - you would have ended up with:
^9 And ...
^10 For ...
Note the double space before the For. You were very correct in
specifying that the alpha had to be right next to the numeric.
Except that "_before_ I did *any* insertions of a space", there were
zero instances of numerics followed by a space. (Emphasis *added*.)
However, I can see how what I wrote could have been a bit misleading.
Also, \d and \w are Perl Compatilble Regular Expression (PCRE) syntaxes.
My testing shows they don't work in vi(m).
-john
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list