From: K.Kosako Date: Mon, 25 Feb 2019 01:58:16 +0000 (+0900) Subject: refactoring X-Git-Tag: v6.9.2_rc1~65^2~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3661ae526bc1cfe1b93ec31fc03c0fe72e1fe6c1;p=onig refactoring --- diff --git a/src/regexec.c b/src/regexec.c index 2beea4e..e351534 100644 --- a/src/regexec.c +++ b/src/regexec.c @@ -2947,7 +2947,7 @@ match_at(regex_t* reg, const UChar* str, const UChar* end, CASE_OP(CCLASS) DATA_ENSURE(1); if (BITSET_AT(p->cclass.bsp, *s) == 0) goto fail; - s += enclen(encode, s); /* OP_CCLASS can match mb-code. \D, \S */ + s++; INC_OP; NEXT_OUT;