What is the right way to match a C# identifier, specifically a property or field name, using .Net Regex patterns?
Background. I used to use the ASCII centric @"[_a-zA-Z][_a-zA-Z0-9]*" But now unicode uppercase and lowercase characters are legit, e.g. "AboöДЖem". How should I include these in the pattern?
Thanks, Max
Is that problem solved by the predefined classes in regex \w will match öД.