Skip to content

Commit 8f405b1

Browse files
committed
Expect \U without a +
Most likely an oops.
1 parent 8e73aec commit 8f405b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/Unicodable.p6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ method from-numerics($query) {
9696
$query ~~ m:ignoremark/^
9797
:i \s*
9898
[
99-
[ | [「\U」 |‘u’ (.)] <?{ $0[*-1].Str.uniname.match: /PLUS.*SIGN/ }>
99+
[ | [「\U」 | ‘u’ (.) <?{ $0[*-1].Str.uniname.match: /PLUS.*SIGN/ }> ]
100100
| [ <:Nd> & <:Numeric_Value(0)> ] ‘x’ # TODO is it fixed now? … What exactly?
101101
]
102102
$<digit>=<:HexDigit>+

0 commit comments

Comments
 (0)