Problems? Is your data what you think it is? | |
PerlMonks |
Re: Returning regexp pattern that was used to matchby diotalevi (Canon) |
on May 03, 2004 at 15:05 UTC ( [id://350038]=note: print w/replies, xml ) | Need Help?? |
This is easy enough - just test each portion individually. When it matches then you know that the current pattern is the one that matched.
In Section
Seekers of Perl Wisdom
|
|