in reply to Re: Search DB case-sensitive
in thread Search DB case-sensitive

Hi Abigail, I'm still relatively new to this...where would I put the /i regex? Thanks

Replies are listed 'Best First'.
Re: Re: Re: Search DB case-sensitive
by DamnDirtyApe (Curate) on Nov 28, 2002 at 20:32 UTC

    /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