Skip Menu |

This queue is for tickets about the XML-XPath CPAN distribution.

Report information
The Basics
Id: 15902
Status: resolved
Priority: 0/
Queue: XML-XPath

People
Owner: MANWAR [...] cpan.org
Requestors: bkw+cpan [...] weisshuhn.de
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.13
Fixed in: 1.30



Subject: Quoting-warnings with translate()
using translate() in an xpath expression gives the following warnings: Unrecognized escape \Q passed through at (eval 180) line 1, <GEN0> line 22. Unrecognized escape \E passed through at (eval 180) line 1, <GEN0> line 22. They stem from line 287 of file XML/XPath/Function.pm: eval "tr/\\Q$find\\E/\\Q$repl\\E/d, 1" or die $@; As I understand it, \Q and \E are only supported in regular expressions, not in tr//.
Hi, Thanks for raising the issue. I will try to get it fixed asap. Best Regards, Mohammad S Anwar
Subject: Re: [rt.cpan.org #15902] Quoting-warnings with translate()
Date: Thu, 4 Feb 2016 16:09:32 +0100
To: bug-XML-XPath [...] rt.cpan.org
From: "Bernhard K. Weißhuhn" <bkw [...] weisshuhn.de>
No rush, this report is only 10 years old ;-) Show quoted text
> On 04 Feb 2016, at 14:59, Mohammad Sajid Anwar via RT <bug-XML-XPath@rt.cpan.org> wrote: > > <URL: https://rt.cpan.org/Ticket/Display.html?id=15902 > > > Hi, > > Thanks for raising the issue. I will try to get it fixed asap. > > Best Regards, > Mohammad S Anwar
Hi, Please accept my apology for taking so long to look into the issue. It has now been resolved. Best Regards, Mohammad S Anwar
No need to apologize, I should be apologizing for my somewhat condescending remark! As you can imagine, I had completely forgotten about this issue. In fact, I don't even use perl for development anymore. But kudos to you for fixing 10 year old bugs! Have a nice day, Bernhard On Fri Feb 05 05:29:00 2016, MANWAR wrote: Show quoted text
> Hi, > > Please accept my apology for taking so long to look into the issue. > It has now been resolved. > > Best Regards, > Mohammad S Anwar