|Pathologically Eclectic Rubbish Lister
Case in regular expressionsby RolandGunslinger (Curate)
|on Sep 12, 2003 at 17:25 UTC
RolandGunslinger has asked for the wisdom of the Perl Monks concerning the following question:
I am still quite new to Perl, so please forgive my ignorance. Is it possible to write a regular expression such that the case of the search string and the strings being searched doesn't matter. I want the user to be able to specify something to search for and be able to find it regardless of case. The only way I know is to force everything to upper case. Thanks for any advice.