David T-G wrote at Fri, 07 Jun 2002 16:45:38 +0200: > I'm not sure about the ignore case... If I read it right, some $pattern will become > "(?i)$pattern". I guess, then, (?i)pat is like /pat/i otherwise? >
Yep. The (?i) switches ignorecase in regexes on, while (?-i) switches it off. You could also use (?i: ...) to switch ignorecase on in the brackets. That also works for the modifiers mxs. Cheerio, Janek -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]