Both of those will also match control characters, like ESC and NUL. Probably a bad idea.
----
I wanted to explore how Perl's closures can be
manipulated, and ended up creating an object
system by accident. -- Schemer
: () { :|:& };:
Note: All code is untested, unless otherwise stated
In reply to Re: Re: matching
by hardburn
in thread matching not just words; alternative to (\w+) ?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |