Skip Menu |

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

Report information
The Basics
Id: 74449
Status: open
Priority: 0/
Queue: Regexp-Assemble

People
Owner: Nobody in particular
Requestors: Kris.Mokrzycki [...] jobsite.co.uk
Cc:
AdminCc:

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



Subject: Bug in ? interpretation
Date: Fri, 27 Jan 2012 15:12:30 +0000
To: "bug-Regexp-Assemble [...] rt.cpan.org" <bug-Regexp-Assemble [...] rt.cpan.org>
From: Kris Mokrzycki <Kris.Mokrzycki [...] jobsite.co.uk>
I believe there is a bug in your code regarding '?' sign, Below is a simple example: my $regexp = '\+?'; my $ra = Regexp::Assemble->new({flags => 'im'}); $ra->add($regexp); $ra->add($regexp2); print $ra->as_string; ====OUTPUT=== \+\? And should be "\+?" Where ? is interpreted as character not (0 or 1) and changes regexp meaning. Thanks Show quoted text
_____________________________________________ Kris Mokrzycki Software Developer [cid:image001.gif@01CCDD06.165D0940]<http://www.jobsite.co.uk/> T: +44 (0)844 561 9000 F: +44 (0)844 561 9001 E: kris.mokrzycki@jobsite.co.uk<mailto:kris.mokrzycki@jobsite.co.uk> www.jobsite.co.uk<http://www.jobsite.co.uk/> The Jobsite Network<http://www.jobsite.co.uk/home/jobsite-network.html> Our Awards<http://www.jobsite.co.uk/awards/>
_____________________________________________ [cid:image002.gif@01CCDD06.165D0940]<http://www.jobsite.co.uk/insider/jobsite-sponsor-portsmouth-fc-2055/> Proud sponsor of Pompey F.C.<http://www.jobsite.co.uk/insider/jobsite-sponsor-portsmouth-fc-2055/> [cid:image003.gif@01CCDD06.165D0940]<http://twitter.com/JobsiteUK> Follow us on Twitter<http://twitter.com/JobsiteUK> [cid:image004.gif@01CCDD06.165D0940]<http://www.facebook.com/JobsiteUK> Follow us on Facebook<http://www.facebook.com/JobsiteUK> [cid:image005.gif@01CCDD06.165D0940]<http://www.jobsite.co.uk/insider/> Follow our Blog<http://www.jobsite.co.uk/insider/> Legally privileged/Confidential Information may be contained in this message. If you are not the addressee(s) legally indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message, and notify us immediately. If you or your employer does not consent to Internet e-mail messages of this kind, please advise us immediately. Opinions, conclusions and other information expressed in this message are not given or endorsed by my firm or employer unless otherwise indicated by an authorised representative independent of this message. Please note that despite using the latest virus software, neither my employer nor I accept any responsibility for viruses and it is your responsibility to scan attachments (if any). Registered office: Northcliffe House, 2 Derry Street, London W8 5TT. Registered in England & Wales under company number 3097157. VAT registration number GB243571171.

Message body is not shown because it is too large.

Download image001.gif
image/gif 4.4k
image001.gif
Download image002.gif
image/gif 1018b
image002.gif
Download image003.gif
image/gif 618b
image003.gif
Download image004.gif
image/gif 345b
image004.gif
Download image005.gif
image/gif 585b
image005.gif
Perhaps https://metacpan.org/release/Regexp-Parsertron will help in some way.