Subject: | Regexp::Grammars is unsupported under Perl 5.18 |
In Perl 5.18, I've got a lot's of those messages:
Warning: Regexp::Grammars is unsupported under Perl 5.18.
Perl 5.18 changed how 'qr' constant overloadings are parsed
and the scope in which they are subsequently compiled. This
change appears to make it impossible to reliably create 'qr'
overloadings that inject code blocks into a regex, as it
prevents the overloaded regexes from compiling properly in
many cases, even with an explicit 'use re "eval"' in scope.
In a few cases, the use of a 'qr' overloading causes Perl
5.18 to segfault.
Because Regexp::Grammars relies on 'qr' overloads to inject
code blocks into regexes, the module is not compatible with
Perl 5.18. It may continue to work in some limited cases,
but is no longer reliable.
So far we have been unable to find a workaround for this
fundamental incompatibility, and there seems little prospect
of a fix unless the behaviour of regex parsing/compilation
is changed again in some future release of Perl. At present,
if you rely on Regexp::Grammars for your parsing needs, your
alternatives are either not to upgrade to Perl 5.18, or else
to consider switching to another parsing system, such as Marpa.
We deeply regret that Regexp::Grammars can no longer be
maintained due to these backwards-incompatible changes in
Perl 5.18.
And the tests fails (see attachment). Is there some workaround? Other than the obvious, downgrading Perl.
Thanks.
Subject: | build.log |
Message body is not shown because it is too large.