# New Ticket Created by  Aleks-Daniel Jakimenko-Aleksejev 
# Please include the string:  [perl #130458]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=130458 >


Code:
say "7\x[308]".NFC ~~ /^ \d+ $/


Result (2015.12,2016.10):
「7̈」


Result (2016.11,HEAD):
「55」


Previously it worked with NFC objects as if they were strings, which 
intuitively makes sense. However, I'm not going to claim that this is what it 
should do, I'm just pointing out that the behavior was changed.

Right now it works with the .ord of the first character, this is probably less 
than awesome.

The change is a result of both 
https://github.com/rakudo/rakudo/commit/05b65d0b1263b2d6ae974e2bf0d0d7f17df11e38
 and 
https://github.com/rakudo/rakudo/commit/33eeb323373c7b01f2d791779a877838369a11e8

Reply via email to