Closed Alexey-T closed 2 years ago
You should now understand why \P{M}\p{M}*+ is the equivalent of \X. \P{M} matches a code point that is not a combining mark, while \p{M}*+ matches zero or more code points that are combining marks.
\P{M}\p{M}*+
\p{M}*+
http://www.regular-expressions.info/unicode.html#prop
declined, no one needs it.
You should now understand why
\P{M}\p{M}*+
is the equivalent of \X. \P{M} matches a code point that is not a combining mark, while\p{M}*+
matches zero or more code points that are combining marks.http://www.regular-expressions.info/unicode.html#prop