\a
is equivalent to [A-Za-z]
so it matches only non-accented letters.
I know of [=name-of-equivalence-class=]
, so I can clearly use something like \(\a\|[[=a=][=e=][=i=][=o=][=u=]]\)
, but I was wondering whether there was a more fundamental solution, such as an option to automatically match every element of the equivalance class for each character in the pattern.
The reason why I would have expected a less hand-crafted solution is that other options doing something similar exist, such as \c
/\C
and \Z
.
I haven't found anything in :help pattern
.
à
isU+00e0
butà
isU+0061
+U+0300
:[=a=]
and\Za
match the latter but not the former. Handling both scenarios would mean doing what[=…=]
and\Z
do, plus matching against all the single character variants of those pairs.