Sat Oct 03 19:14:07 2015andreas.guldstrand [...] gmail.com - Ticket created
Subject:
Pattern with \# and /x leads to error Invalid regex: /x
Date:
Sun, 4 Oct 2015 01:13:50 +0200
To:
bug-Regexp-Debugger [...] rt.cpan.org
From:
Andreas Guldstrand <andreas.guldstrand [...] gmail.com>
When you give `rxrx` a pattern that has an escaped # and try to supply
the /x flag, you get an error message saying:
regex:
/Invalid regex:
/x
Try with input:
/ \# /x
This obviously should parse properly, but even so, "/x" is in fact a
valid regex since you don't need the closing "/" in `rxrx`.
Thu Oct 08 09:47:39 2015damian [...] conway.org - Correspondence added
Subject:
Re: [rt.cpan.org #107526] Pattern with \# and /x leads to error Invalid regex: /x
Date:
Fri, 9 Oct 2015 00:46:50 +1100
To:
bug-Regexp-Debugger [...] rt.cpan.org
From:
Damian Conway <damian [...] conway.org>
Hi Andreas,
Thanks for the report.
The error only occurs in Perl 5.18 and later.
It is caused by changes in the way Perl parses regexes
from 5.18 onwards. It is not clear that there is any way
I can work around this behaviour.
I will continue to work on the problem, however.
Sorry not to be able to solve it immediately,
Damian
Thu Oct 08 09:47:39 2015The RT System itself - Status changed from 'new' to 'open'