|
|
| There's more than one way to do things | |
| PerlMonks |
Matching strings with non-word charactersby chas (Priest) |
| on Apr 17, 2006 at 09:14 UTC ( [id://543808]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.chas has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to match strings such as "X \ n a x" which appear
in spam email so I can filter. I can do this but not in a completely satisfactory way. I guess I've just gotten myself confused, but I don't understand why
produces "OK1" only. I would expect the first match to fail and the second to succeed. Thanks for any comments!
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||