hankache / rakuguide

The Raku Guide

Home Page:https://raku.guide

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improper explanation about regex \w and \d in the Japanse document

titsuki opened this issue · comments

I found two mistakes in the Japanese document.

In the other programming languages(ex. Perl without use utf8;) regex \w is equal to [a-zA-Z0-9_].
But in perl6, regex \w includes unicode characters, so I should erase and edit the following explanation.

単語構成文字 [a-zA-Z0-9_]

FYI: https://doc.perl6.org/language/regexes

In perl6, regex \d could include Arabic digits. But the document says \d is equal to 10進数字(i.e. decimal digits).
So it should replace10進数字 with 数字(i.e. digits).