regex question....

Randal L. Schwartz merlyn at stonehenge.com
Sun Dec 5 17:37:58 UTC 2010


>>>>> "Gary" == Gary Kline <kline at thought.org> writes:

Gary> 	%s/[1-0][0-9]*/foo/g

Except 1-0 is an empty set. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion


More information about the freebsd-questions mailing list