in reply to Re: REGEX problem with anchors
in thread REGEX problem with anchors
Thanks for this, it lead to the answer!
The one-liner worked for me as well and so I went back to my code (which I should have posted) and realized I forgot to chomp the input strings (the user was prompted to enter input strings and a regex). I chomped the regex, not the input strings. A novice mistake, I apologize!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: REGEX problem with anchors
by tobias_hofer (Friar) on Feb 05, 2013 at 08:34 UTC |
In Section
Seekers of Perl Wisdom