'regular expression property title case (Lt)
I use the property Lt to match a capitalized letter at the start of a word (title case).
My regular expression (regex101.com) is only the property \p{Lt} and my test string is Title Case.
The result is: no match. The properties Ll and Lu give correct results. What is the reason for this behavior?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
