diff options
Diffstat (limited to 'src/regexp_bt.c')
-rw-r--r-- | src/regexp_bt.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/regexp_bt.c b/src/regexp_bt.c index 5452dda..16dac73 100644 --- a/src/regexp_bt.c +++ b/src/regexp_bt.c @@ -3823,6 +3823,14 @@ regmatch( } } } + else if (enc_utf8) + { + if (cstrncmp(opnd, rex.input, &len) != 0) + { + status = RA_NOMATCH; + break; + } + } else for (i = 0; i < len; ++i) if (opnd[i] != rex.input[i]) |