in reply to Re: I'm surprized with \L, \l, \U and \u, are you too? :-)
in thread I'm surprized with \L, \l, \U and \u, are you too? :-)
Um, I'm not sure what you mean by that, the behavior appears inconsistent
The way I read perlop they should both result in aa. Or to be a consistent special case, both should result with one character uppercased.use Test::More qw' tests 2 '; is( "\LA\uA", "??", '\LA\uA' ); is( "\L\uAA", "??", '\L\uAA' ); __END__ 1..2 not ok 1 - \LA\uA # Failed test '\LA\uA' # at crap line 2. # got: 'aa' # expected: '??' not ok 2 - \L\uAA # Failed test '\L\uAA' # at crap line 3. # got: 'Aa' # expected: '??' # Looks like you failed 2 tests of 2.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: I'm surprized with \L, \l, \U and \u, are you too? :-)
by ikegami (Patriarch) on Feb 21, 2011 at 10:19 UTC | |
by Anonymous Monk on Feb 21, 2011 at 10:38 UTC | |
by ikegami (Patriarch) on Feb 21, 2011 at 19:42 UTC | |
by Anonymous Monk on Feb 22, 2011 at 01:53 UTC | |
by ikegami (Patriarch) on Feb 22, 2011 at 07:25 UTC | |
| |
|
Re^3: I'm surprized with \L, \l, \U and \u, are you too? :-)
by Anonymous Monk on Feb 21, 2011 at 09:54 UTC |