New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
\U ... \Q ... \E ... \E #8846
Comments
From @AbigailCreated by @AbigailAs far as I know, the effect of a \U, \L or \Q is cancelled by the And as long as you use \U and \L, it works this way. However, \Q seems I don't know what "\Q-\Q-\E-\E-" is supposed to be, both '\-\---' and The following tests fail 5 times (tests 2, 5, 7, 8, and 9), while I think #!/usr/bin/perl use strict; use Test::More tests => 9; is "Aa-\UBb-\LCc-\EDd-\EEe-", 'Aa-BB-cc-Dd-Ee-', '\L after \U'; is "Aa-\LBb-\UCc-\EDd-\EEe-", 'Aa-bb-CC-Dd-Ee-', '\U after \L'; is "Aa-\QBb-\UCc-\EDd-\EEe-", 'Aa-Bb\-CC\-Dd-Ee-', '\U after \Q'; __END__ Perl Info
|
From rick@bort.caOn Mar 23 2007, Abigail wrote:
I think this is all covered in L<perlop/"Gory details of parsing quoted print "\Q-\Q-\E-\E"; -- |
The RT System itself - Status changed from 'new' to 'open' |
From david@landgren.netRick Delaney a écrit :
I think the only real bug in all this is % perl -le "print qq{\Un\lext}" According to the docs, that should print "NeXT". I cam see where and why There's a bug (#9360) open on this issue. David |
Migrated from rt.perl.org#42043 (status was 'open')
Searchable as RT42043$
The text was updated successfully, but these errors were encountered: