On Tue, 25 Jul 2017, Petr Pisar via Pcre-dev wrote:
> I found a bug in the /xx implementation:
>
> $ ./pcre2test
> PCRE2 version 10.30-RC1 2017-07-18
> re> /(?x:[a b])/xx
> data> " "
> No match
>
> This should match because the inner option (?x) overrides the outer one (/xx).
> See <https://github.com/rurban/re-engine-PCRE2/issues/28> for more details.
I have fixed this bug (I hope) and committed the patch. On the tests I
invented, PCRE2 now behaves the same as Perl. Thanks for the testing.
Philip
--
Philip Hazel