S
size14feet
must simple way to do this...
I have a string. I have several patterns to match for. I'd like
to determine which pattern finds a match in the string first & at what
position.
Anyone have an elegant way to do this? I don't mind using a CPAN
module, if need be.
much appreciated-
matt
I have a string. I have several patterns to match for. I'd like
to determine which pattern finds a match in the string first & at what
position.
Anyone have an elegant way to do this? I don't mind using a CPAN
module, if need be.
much appreciated-
matt