Plankton has asked for the wisdom of the Perl Monks concerning the following question:
... I thought I could of just done this ...return if ! ( /\.[jJ][pP][gG]$/ or /\.[jJ][pP][eE][gG]$/ );
... since the [eE] means find zero or more e's or E's right?return if ! ( /\.[jJ][pP][eE][gG]$/ );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: help with []'s in regex please
by CountZero (Bishop) on Aug 27, 2005 at 20:47 UTC | |
|
Re: help with []'s in regex please
by Zaxo (Archbishop) on Aug 27, 2005 at 20:49 UTC | |
by CountZero (Bishop) on Aug 27, 2005 at 20:50 UTC | |
by Zaxo (Archbishop) on Aug 27, 2005 at 21:01 UTC | |
by CountZero (Bishop) on Aug 27, 2005 at 21:04 UTC | |
|
Re: help with []'s in regex please
by Tanktalus (Canon) on Aug 27, 2005 at 20:47 UTC | |
|
Re: help with []'s in regex please
by Anonymous Monk on Aug 27, 2005 at 20:53 UTC |