updated for version 7.3.1023
Problem: Searching for composing char only and using \Z has different
results.
Solution: Make it match the composing char, matching everything is not
useful.
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c
index c7c6598..9310008 100644
--- a/src/regexp_nfa.c
+++ b/src/regexp_nfa.c
@@ -3294,7 +3294,7 @@
* (no preceding character). */
len += mb_char2len(mc);
}
- if (ireg_icombine)
+ if (ireg_icombine && len == 0)
{
/* If \Z was present, then ignore composing characters.
* When ignoring the base character this always matches. */