parsifal has asked for the wisdom of the Perl Monks concerning the following question:

$sentence =~ /the/ is true if $sentence conatians the, not ThE or some other permutation using case. How can I do this case INsensitively?

Replies are listed 'Best First'.
Re: insenitive ~
by btrott (Parson) on Feb 22, 2000 at 00:08 UTC
    $sentence =~ /the/i
    "i" for "insensitive", presumably.