[CLUE-Tech] Regular Expression in Vi

Randy Arabie randy at arabie.org
Fri Mar 22 14:59:06 MST 2002


On Fri, 22 Mar 2002, Keith Hellman wrote:

> :%s/\([0-9]\)-\([0-9]\)/\1\2/g
 
Ahhhhh.  The 1 & 2 to save my matched numbers!

I've got to find my O'Reilly Vi Pocket Reference....

Thanks.

-- 
Cheers!

Randy

================================================================
Randy Arabie
GnuPG Key Info -- 

 Fingerprint: 7E25 DFA2 EF72 9551 9C6C  8AA6 6E8C A0F5 7E33 D981
 Key ID: 7C603AEF
 http://www.arabie.org/keys/rrarabie.gnupg
================================================================




More information about the clue-tech mailing list