Problems? Is your data what you think it is? | |
PerlMonks |
Re: regex question/mysteryby blazar (Canon) |
on Jan 17, 2006 at 18:40 UTC ( [id://523799]=note: print w/replies, xml ) | Need Help?? |
I'm not really sure if I understand what you mean. Of course if "the first half of your expression" matches, then the second one won't. Do you really need that alternation? Wouldn't you better split it in two separate regexen? Alternatively, isn't it that you really want
instead? Also, you seem to be familiar with regexen so that I may well be wrong, but your use of dots is somewhat suspect, thus I dare to ask... are you aware that "." matches "any charachter"?
In Section
Seekers of Perl Wisdom
|
|