.Net regex: what is the word character \w?
- by tanascius
Simple question:
What is the pattern for the word character \w in c#, .net?
My first thought was that it matches [A-Za-z0-9_] and the documentation tells me:
Character class Description Pattern Matches
\w Matches any \w "I", "D", "A", "1", "3"
word character. in "ID A1.3"
which is not very helpful.
And \w seems to match äöü, too. What else? Is there a better (exact) definition available?