Skip Menu |
 

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

Report information
The Basics
Id: 75644
Status: open
Priority: 0/
Queue: Regexp-Grammars

People
Owner: Nobody in particular
Requestors: ingosch [...] gmx.at
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.015
Fixed in: (no value)



Subject: debug does not work
Download (untitled) / with headers
text/plain 1.1k
Invalid [] range "[-1" in regex; marked by <-- HERE in m/(?{; *Regexp::Grammars::LOGFILE = Regexp::Grammars::_open_log('>>','-'); Regexp::Grammars::_init_try_stack(); })((?{; @! = () if !pos; local @Regexp::Grammars::RESULT_STACK = (@Regexp::Grammars::RESULT_STACK, {}); local $Regexp::Grammars::TIMEOUT = { limit => -1>>1 }; local $Regexp::Grammars::DEBUG = 'off' }) ( at /home/ingo/tmp/testgr.pl line 21. Here is one grammar, although it occurs in several: my $gr=do { use Regexp::Grammars; qr{ <pro> <debug: match> <token: int> [+-]?\d++ <token: literal> [.'!%\\\w_\^@\+\-\(\)\(\)\#{}\\\[\]]++ <minimize:> <rule: pro> (<?literal> <tab=(\w+Table)> <[row]>+ % <ws> |<not=literal> <sc=int>?) #<rule: tab> #(?=<literal>) \w+Table <rule: row> <int> (\"<literal>\")? (?{$MATCH{eval ($MATCH{int})}=>($MATCH{literal}); }) }xms };
Subject: Re: [rt.cpan.org #75644] debug does not work
Date: Sat, 10 Mar 2012 07:03:10 +1100
To: bug-Regexp-Grammars [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Download (untitled) / with headers
text/plain 134b
Definitely a bug (in parsing character classes). I've fixed the problem and re-uploaded to CPAN. Many thanks for the report. Damian
From: ingosch [...] gmx.at
Download (untitled) / with headers
text/plain 238b
On Fri Mar 09 15:04:00 2012, damian@conway.org wrote: Show quoted text
> Definitely a bug (in parsing character classes). > I've fixed the problem and re-uploaded to CPAN. > > Many thanks for the report. > > Damian
Many thanks for the quick fix! Ingo


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.