dcorbin has asked for the wisdom of the Perl Monks concerning the following question:
The (?i) construct seems to affect the entire RE. Is there some more limited way to say that only a this portion of the RE should be case-insensitive?print "OK" if m:[Vv][Aa][Rr]=/bin:;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: RegExps that are only partly case-insensitive
by ZZamboni (Curate) on Sep 06, 2000 at 18:20 UTC | |
by dcorbin (Sexton) on Sep 06, 2000 at 18:55 UTC | |
by merlyn (Sage) on Sep 06, 2000 at 19:01 UTC | |
by dcorbin (Sexton) on Sep 06, 2000 at 19:18 UTC | |
|
Re (tilly) 1: RegExps that are only partly case-insensitive
by tilly (Archbishop) on Sep 06, 2000 at 18:22 UTC | |
|
Re: RegExps that are only partly case-insensitive
by Maqs (Deacon) on Sep 06, 2000 at 20:30 UTC | |
|
Re: RegExps that are only partly case-insensitive
by Maqs (Deacon) on Sep 06, 2000 at 20:41 UTC |