Unicode indicates that \X should match an “extended grapheme cluster” —for example, a base character followed by zero or more character combinations. (I find this a simplification, but may be enough for my needs.)
I am sure that at least Perl supports \X in its regular expressions.
But Vim defines \X to match non-hexadecimal digits.
Does Vim have the equivalent of \X or any way to map to an extended Unicode grap cluster?
Vim has the concept of combining or "composing" characters, but its documentation does not cover whether they are supported or how they are supported in common expressions.
Vim doesn't seem to support this directly yet, but I'm still interested in a workaround where the search will highlight all characters that include the combining character, at least in the main range from U+0300 to U+0364 .
vim regex unicode
hippietrail
source share