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;