in reply to Re^2: Why this is work?
in thread Why this is work?

say ('1_3' + 0); say ('0xd' + 0); say ('0b1101' + 0); say ('1.3e1' + 0);

Literals are irrelevant, the conversion from string to number is what counts, because that's what's more often than not what happens to the matched string, and only the last one actually works.

There's no reason whatsoever not to require \p{Number} for the rare use case of "give me anything that might be a digit to someone".

Jenda
Enoch was right!
Enjoy the last years of Rome.