use warnings; use strict; while (<DATA>) { chomp; if (/A\) (?i:Title)/) { print "$_: matches\n"; } else { print "$_: does not match\n"; } } __DATA__ A) title a) title A) TItlE
prints:
A) title: matches a) title: does not match A) TItlE: matches
In reply to Re: Selective Case sensitivity
by toolic
in thread Selective Case sensitivity
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |