in reply to Search DB case-sensitive

Use the /i regex modifier.

Abigail

Replies are listed 'Best First'.
Re: Re: Search DB case-sensitive
by lisaw (Beadle) on Nov 28, 2002 at 19:07 UTC
    Hi Abigail, I'm still relatively new to this...where would I put the /i regex? Thanks

      /i goes at the end of the regex, eg. $text =~ s/foo/bar/i;

      I'd recommend you look at perlop for a description of how to use the various regexp operators in Perl, as well as perlre for an in-depth discussion on how to use regexps.


      _______________
      DamnDirtyApe
      Those who know that they are profound strive for clarity. Those who
      would like to seem profound to the crowd strive for obscurity.
                  --Friedrich Nietzsche