Skip Menu |

This queue is for tickets about the Regexp-Common CPAN distribution.

Report information
The Basics
Id: 118421
Status: new
Priority: 0/
Queue: Regexp-Common

People
Owner: Nobody in particular
Requestors: VDB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2016060801
Fixed in: (no value)



Subject: $RE{ comment }{ Perl } cannot be used in extended expression.
$ cat ./test.pl use Regexp::Common qw{ comment }; print( $RE{ comment }{ Perl }, "\n" ); "" =~ m{ $RE{ comment }{ Perl } }x; $ perl ./test.pl (?:(?:#)(?:[^\n]*)(?:\n)) Unmatched ( in regex; marked by <-- HERE in m/ (?:( <-- HERE ?:#)(?:[^\n]*)(?:\n)) / at ./test.pl line 3. It seems $RE{ comment }{ Perl } should be (?:(?-x)(?:#)(?:[^\n]*)(?:\n))
Subject: comment.pm.patch
--- comment.pm.ORIG 2016-06-08 15:40:47.000000000 +0300 +++ comment.pm 2016-10-18 02:30:28.861075873 +0300 @@ -32,7 +32,7 @@ {languages => [qw /awk fvwm2 Icon m4 mutt Perl Python QML R Ruby shell Tcl/], - to_eol => ['#']}, + to_eol => ['(?-x)#']}, {languages => [[BASIC => 'mvEnterprise']], to_eol => ['[*!]|REM']},