diff options
Diffstat (limited to 'ext/mbstring/mbregex.c')
-rw-r--r-- | ext/mbstring/mbregex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mbstring/mbregex.c b/ext/mbstring/mbregex.c index cfda5b4404..0a596ec58e 100644 --- a/ext/mbstring/mbregex.c +++ b/ext/mbstring/mbregex.c @@ -3326,7 +3326,7 @@ re_search(bufp, string, size, startpos, range, regs) } } if (bufp->options & MBRE_OPTIMIZE_ANCHOR) { - if (bufp->options&MBRE_OPTION_MULTILINE & range > 0) { + if (bufp->options&MBRE_OPTION_MULTILINE && range > 0) { goto begbuf_match; } anchor = 1; |