From 8e6198308658e088ee84d9a13ccee020ea9756ce Mon Sep 17 00:00:00 2001 From: "K.Kosako" Date: Sat, 16 Sep 2017 21:47:52 +0900 Subject: [PATCH] fix #70 : Matching the end of a string followed by an empty greedy regex and a word boundary (.*\b) fails --- src/regexec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/regexec.c b/src/regexec.c index 7087184..c77d94c 100644 --- a/src/regexec.c +++ b/src/regexec.c @@ -2038,6 +2038,7 @@ match_at(regex_t* reg, const UChar* str, const UChar* end, s += n; } MOP_OUT; + continue; break; case OP_ANYCHAR_ML_STAR: MOP_IN(OP_ANYCHAR_ML_STAR); @@ -2055,6 +2056,7 @@ match_at(regex_t* reg, const UChar* str, const UChar* end, } } MOP_OUT; + continue; break; case OP_ANYCHAR_STAR_PEEK_NEXT: MOP_IN(OP_ANYCHAR_STAR_PEEK_NEXT); -- 2.40.0