|laziness, impatience, and hubris|
What is being matched?by eversuhoshin (Sexton)
|on Apr 02, 2011 at 02:47 UTC||Need Help??|
eversuhoshin has asked for the
wisdom of the Perl Monks concerning the following question:
Hello dear monks~
Could someone help me write a code that shows what part of the regular expression the text matched?
I have to match on bunch of words (about 15) to find the SEC filing that I want for instance "director" and "resignation."
Since I am still learning perl I was thinking of just creating separate variables indicating matched words
Is there a way I can do it more elegantly using
Thank you again :)