>>>>> "Joshua" == Joshua Gimer <[email protected]> writes:

Joshua> On Sat, Dec 4, 2010 at 5:26 PM, Gary Kline <[email protected]> wrote:
>> I have tried :1,$/s/[0-9]][0-9][0-9]/foo/g

Joshua> Why not just %s/[0-9]*/foo/g

Because that would turn a line of "fred" into "foofred". :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to