Closed p5pRT closed 14 years ago
following one liner fails with perl 5.12.0.
perl -e 'use charnames ":full"; /\N{FULLWIDTH LEFT PARENTHESIS}./;print "ok\n";'
Invalid hexadecimal number in \N{U+...} in regex; marked by \<-- HERE in m/\N{U+FF08} \<-- HERE ./ at -e line 1.
following one liner works in perl5.10.0\, but it fails with perl 5.12.0
% perl -e 'use charnames ":full"; /\N{FULLWIDTH LEFT PARENTHESIS}./;print "ok\n";' Invalid hexadecimal number in \N{U+...} in regex; marked by \<-- HERE in m/\N{U+FF08} \<-- HERE ./ at -e line 1.
Tokuhiro Matsuno (via RT) wrote:
# New Ticket Created by "Tokuhiro Matsuno" # Please include the string: [perl #74982] # in the subject line of all future correspondence about this issue. # \<URL: http://rt.perl.org/rt3/Ticket/Display.html?id=74982 >
This is a bug report for perl from tokuhirom@gmail.com\, generated with the help of perlbug 1.39 running under perl 5.12.0.
----------------------------------------------------------------- [Please describe your issue here]
following one liner works in perl5.10.0\, but it fails with perl 5.12.0
% perl -e 'use charnames ":full"; /\N{FULLWIDTH LEFT PARENTHESIS}./;print "ok\n";' Invalid hexadecimal number in \N{U+...} in regex; marked by \<-- HERE in m/\N{U+FF08} \<-- HERE ./ at -e line 1.
[Please do not change anything below this line] -----------------------------------------------------------------
Thanks for the bug report. I was the one who introduced the bug. I'm sorry. I will have a patch available today. In the meantime\, the problem turns out to be the period just after the '}'. If you remove that\, it will work.
The RT System itself - Status changed from 'new' to 'open'
Thanks for the bug report. I was the one who introduced the bug. I'm sorry. I will have a patch available today. In the meantime\, the problem turns out to be the period just after the '}'. If you remove that\, it will work.
I'm going to hold 5.12.1 RC1 for this.
Best\, Jesse --
Attached is a minimal patch to fix this. There are two other commits that add comments to a .t file so that someone later won't have to work as hard as I did at finding where to put the tests for something similar.
The RT System itself - Status changed from 'new' to 'open'
On Sat\, May 08\, 2010 at 02:18:33PM -0600\, karl williamson wrote:
Attached is a minimal patch to fix this. There are two other commits that add comments to a .t file so that someone later won't have to work as hard as I did at finding where to put the tests for something similar.
Thanks. Applied. +1 to backport the code patch for .1.
-Jesse
On Sat\, May 8\, 2010 at 5:34 PM\, Jesse Vincent \jesse@​fsck\.com wrote:
On Sat\, May 08\, 2010 at 02:18:33PM -0600\, karl williamson wrote:
Attached is a minimal patch to fix this. There are two other commits that add comments to a .t file so that someone later won't have to work as hard as I did at finding where to put the tests for something similar.
Thanks. Applied. +1 to backport the code patch for .1.
-Jesse
agreed. +1 to backport
@rgs - Status changed from 'open' to 'resolved'
Migrated from rt.perl.org#74978 (status was 'resolved')
Searchable as RT74978$