September 2017
Beginner
402 pages
9h 52m
English
The \d character class matches with a digit. A digit here is understood as a Unicode character from the Number category. Among the traditional Arabic numerals 0-9, there are digits from other alphabets and scripts. The whole list of these characters is exhausting but let us give a few examples of other digits:
Any of these digits will match against \d:
$ perl6 -e'say "OK" if "" ~~ /\d/'OK