Skip Menu |

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

Report information
The Basics
Id: 92059
Status: resolved
Priority: 0/
Queue: Regexp-Debugger

People
Owner: Nobody in particular
Requestors: cpan [...] zoffix.com
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: (no value)



Subject: Matching doesn't run when regex has unescaped '}' or '{'
The matching commands in rxrx utility don't work when a regex contains unescaped '{' or '}' characters, despite the regex being valid. The behaviour is especially confusing, when you got a large regex and are trying out rxrx for the first time :) which is how I came across this bug :) Steps to reproduce: 1) Start up rxrx 2) Enter /}/ as a regex 3) Enter 'test' as a test string 4) Enter the 'm' command. Expected result: matching sequence happens. Actual result: nothing happens, as if you never ran the 'm' command at all. Workaround: escape all '{' and '}' braces with a backslash (e.g. '\{') Cheers, ZZ
Subject: Re: [rt.cpan.org #92059] Matching doesn't run when regex has unescaped '}' or '{'
Date: Sun, 12 Jan 2014 13:37:57 +1100
To: bug-Regexp-Debugger [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Thanks for the bug report. I just uploaded a new release that fixes it. Much appreciated, Damian