Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
\p{N}[\p{N}.]*
それは単語カウントアルゴリズムで使用されますが、それが何をしているのか、そしてそれが正確であるかどうかはわかりません。
のようなUnicode番号と一致するよう\d[\d.]*です。1234のようなものと一致するため、あまり良い表現には見えませんが、それは1..2..3..データによって異なります。私はあなたがそれにこのようなものを持っていないかもしれないことを意味します。
\d[\d.]*
1234
1..2..3..
\p{N}または\p{Number}:任意のスクリプト内の任意の種類の数字。
正規表現\p{L}および\p{N}