On Thu, Aug 19, 2010 at 14:42, Zefram <zefram@fysh.org> wrote: > Abigail wrote: >>written code that actually scans for (?xism:) constructs and modifies >>them. Such code would break if (?xism:) is going to be replaced with (?~:). > > Without (?^:) it's liable to break whenever new flags are added. > >> '(?si-xm:)' tells me exactly what's >>enabled, and what's disabled, regardless of the Perl version. > > No, it doesn't. It doesn't tell you whether the /p flag is enabled. /p like /e and /o and a few others isn't part of the regex proper, but has to do with how it's processed once it's time to evaluate it.Thread Previous | Thread Next