From fab7847be5286ccfde911e50845053aa8adcc146 Mon Sep 17 00:00:00 2001 From: "K.Kosako" Date: Tue, 18 Jul 2017 08:36:44 +0900 Subject: [PATCH] small fix in get_min_len() --- src/regcomp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/regcomp.c b/src/regcomp.c index d22c923..ff3e967 100644 --- a/src/regcomp.c +++ b/src/regcomp.c @@ -2872,7 +2872,7 @@ get_min_len(Node* node, ScanEnv* env) case NODE_CTYPE: case NODE_CCLASS: - len = 1; + len = ONIGENC_MBC_MINLEN(env->enc); break; case NODE_QUANT: -- 2.40.0