good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Regex OR'ingby spectre (Scribe) |
on Jul 28, 2000 at 02:39 UTC ( [id://24771]=perlquestion: print w/replies, xml ) | Need Help?? |
spectre has asked for the wisdom of the Perl Monks concerning the following question:
I'm checking a variable for a regex that may or may not be there, using the following: And it always matches nothing when I use the former 2 examples. Is there a way I can force it to look at the first expression rather than (As it appears to be doing) whichever comes first? Regards, spectre
Back to
Seekers of Perl Wisdom
|
|