|
From: | Tony Sidaway |
Subject: | Re: [Chicken-hackers] perlcre /i, /m. /s and /x modifiers |
Date: | Tue, 10 Jul 2007 13:58:29 +0100 |
On 7/10/07, John Cowan <address@hidden> wrote:
Tony Sidaway scripsit: > Is anybody familiar enough with the code to know how to use the /i, > /m. /s and /x modifiers with regular expressions? You can also incorporate them directly into the regex using the syntaxes "(?i)", "(?m)", "(?s)", and "(?x)".
Thanks. That does exactly what I want. So for instance a regular expression preceded by "(?s)" causes end-of-line to be counted as a regular character by the "." operator.
[Prev in Thread] | Current Thread | [Next in Thread] |