Don't ask to ask, just ask | |
PerlMonks |
Re: Regex Problemby ikegami (Patriarch) |
on Aug 01, 2007 at 18:55 UTC ( [id://630140]=note: print w/replies, xml ) | Need Help?? |
The opposite of "A non-word character" (/\W/) is "No non-word characters" (!/\W/) or "all word characters" (/^\w*\z/). That's why /\w/ didn't work.
In Section
Seekers of Perl Wisdom
|
|