Gang, I was tried to find Jeffrey Friedl's email to figure out some quick regex when it struck me that the list can clue me in.... [[I have figured this out myself several times--well, 3 or 4 anyway--but it was more trial/error than I need.]]
I have a file with ints from 0 to some N. What is the regex for vi or vim to use that will catch them all in one substititon command? I have tried :1,$/s/[0-9]][0-9][0-9]/foo/g or things very close to that. Zip. I could have sworn that I noted it dow n somewhere; cannot find. tia. -- Gary Kline [email protected] http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[email protected]"
