\p{N}[\p{N}.]*
It's used in a word counting algorithm but not sure if that's what it's doing, and whether or not its accurate.
\p{N}[\p{N}.]*
It's used in a word counting algorithm but not sure if that's what it's doing, and whether or not its accurate.
Looks like it matches unicode numbers kind of like \d[\d.]*
. It does not look like a very good expression since it will match things like 1234
and 1..2..3..
but that depends on your data. I mean you may not have things like this in it.
\p{N} or \p{Number}: any kind of numeric character in any script.