regex question....
Polytropon
freebsd at edvax.de
Sun Dec 5 01:32:41 UTC 2010
On Sat, 4 Dec 2010 17:24:30 -0800, Gary Kline <kline at thought.org> wrote:
> So I just missed the "*"?
Yes. In regex, * means "any amount of", if I remember correctly.
So you don't have to specify precisely how many numbers there
are.
How many lights? :-)
> Didn't need to escape the [ or ] ?
No, as you want them in their regex meaning, "in the range of",
not literal [ and ].
> PS: See, this is why I keep cheatsheets. ;)
That's the fat green book on my shelf. :-)
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions
mailing list