Skip Menu |

This queue is for tickets about the X11-GUITest CPAN distribution.

Report information
The Basics
Id: 113925
Status: new
Priority: 0/
Queue: X11-GUITest

People
Owner: Nobody in particular
Requestors: sdondley [...] gmail.com
Cc:
AdminCc:

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



Subject: Bug in X11-GUITest v .28: "#" is not quoted with QuoteStringForSendKeys
Date: Fri, 22 Apr 2016 09:47:46 -0400
To: bug-X11-GUITest [...] rt.cpan.org
From: Steve Dondley <sdondley [...] gmail.com>
According to the documentation, the QuoteStringForSendKeys function should quote the "pound sign" (i.e. #) character because it is a meta character. However, the substitution regular expression at the heart of the QuoteStringForSendKeys function does not quote this character: $str =~ s/(\^|\%|\+|\~|\(|\)|\{|\})/\{$1\}/gm; I believe the regular expression should read something like this: $str =~ s/(#|\^|\%|\+|\~|\(|\)|\{|\})/\{$1\}/gm;