Reg Expr bugs in vi?
chris at umcp-cs.UUCP
chris at umcp-cs.UUCP
Sat Oct 1 23:39:44 AEST 1983
WARNING: Beware of Feature
Some of your "bugs" are really "features" because of the way VI does
things. The reason the search /3*[a-z]/ moves you two characters
if you're sitting on a long string of text, is that vi doesn't want
to re-find the last found occurance of this, so it moves you right
before starting the search. It should move right one character, but
apparently someone made it move 2 for some reason.
Also, things with "c*" always try to match the longest string on a
line; this tends to do counter-intuitive things sometimes. (I suppose
that depends on what your intuition says.)
--
Real: Chris Torek, Univ of MD Comp Sci
UUCP: {seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet: chris at umcp-cs
ARPA: chris%umcp-cs at UDel-Relay
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list