Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site umcp-cs.UUCP Path: utzoo!linus!philabs!seismo!rlgvax!cvl!umcp-cs!chris From: chris@umcp-cs.UUCP Newsgroups: net.bugs.4bsd Subject: Re: Reg Expr bugs in vi? Message-ID: <2873@umcp-cs.UUCP> Date: Sat, 1-Oct-83 09:39:44 EDT Article-I.D.: umcp-cs.2873 Posted: Sat Oct 1 09:39:44 1983 Date-Received: Sun, 2-Oct-83 15:32:49 EDT References: <1421@tektronix.UUCP> Organization: Univ. of Maryland, Computer Science Dept. Lines: 17 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@umcp-cs ARPA: chris%umcp-cs@UDel-Relay