tmiklas has asked for the wisdom of the Perl Monks concerning the following question:
I mean that this doesn't match 'relaying denied' - only 'Relaying denied'. It happens only on two of all machines I run - both running Slackware with Perl 5.6.0. The other machines (all running Debian + Perl 5.6.0/5.6.1) doesn't have this problem - regex match is case-insensitive.if ( (/sendmail\[.*?\[(.*?)\],.*?Relaying denied/i) || (/gnu-pop3d\[.*?refused connect from (.*?)$/i) || (/cucipop\[.*?authentication failure\s.*?\s(.*?)$/i) ) { return ($1) };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: regex case-sensitivity problem
by Corion (Patriarch) on May 05, 2002 at 18:47 UTC | |
by tmiklas (Hermit) on May 05, 2002 at 20:25 UTC |