regexp bugby kidd (Curate)
|on Aug 27, 2002 at 13:36 UTC||Need Help??|
kidd has asked for the
wisdom of the Perl Monks concerning the following question:
I have this code that makes a search trough a lot of texts. I finished it and I tested but the I saw something, when I searched for lets say "foo" it returned true to either "foo" and "foobar"... I didnt want that! I wanted only to be true to "foo" nothing more nothing less.
So, I decided to make a correction and I edited this line:
But I test it and sometimes it works fine and other times it doesnt...Can someone tell me what Im doing wrong...
And if you could tell me how can I make the search not case-sensitive...
I thought that maybe I could do that like this: