regex question....
Gary Kline
kline at thought.org
Sun Dec 5 21:51:24 UTC 2010
On Sun, Dec 05, 2010 at 09:37:58AM -0800, Randal L. Schwartz wrote:
> >>>>> "Gary" == Gary Kline <kline at thought.org> writes:
>
> Gary> %s/[1-0][0-9]*/foo/g
>
> Except 1-0 is an empty set. :)
>
Ya, sure, you-betcha! I really did mean a '9'there. For some
reason, what I'm thinking sometimes fails to get translated into
what I type. Like my fingers have a mind of their o wn... I do
Not watch the display; just the keybd.
......
> --
> 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
--
Gary Kline kline at thought.org 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
More information about the freebsd-questions
mailing list