SPUG: minimal unmatching regex
Michael R. Wolf
MichaelRWolf at att.net
Wed Aug 19 07:03:50 PDT 2009
On Aug 18, 2009, at 10:20 PM, Patrick Michaud wrote:
> How about /[^\w\W]/ ? It's a bit long, but requiring a match on a
> character that is not a word character and not a non-word character
> seems to do it.
Thanks... It's got the distinct advantage of being comprehensible by
introductory students.
--
Michael R. Wolf
All mammals learn by playing!
MichaelRWolf at att.net
More information about the spug-list
mailing list