Quote:
Originally Posted by Sarmat89
You should use \p{Ll} instead of [a-z], though.
|
I thought that [a-z] would be a bit clearer that I was matching lower case letters at the start of a line. \p{\p{Ll}} matches a lower case letter that has an upper case equivalent and as far as I am aware, Italian lacks lower case letters that don't have an upper case equivalent. Even German now has an upper case ẞ (since 2017???).
Edit: Mostly a question of style and evidence that if there is more than one way to do something, they will all be used.
Edit2: As pointed out, [a-z] does not catch accented letters. Me bad!