version 1.1.1.2, 2012/02/21 23:50:25
|
version 1.1.1.3, 2013/07/22 08:25:56
|
Line 521 int RE::TryMatch(const StringPiece& text,
|
Line 521 int RE::TryMatch(const StringPiece& text,
|
extra.match_limit_recursion = options_.match_limit_recursion(); |
extra.match_limit_recursion = options_.match_limit_recursion(); |
} |
} |
|
|
int options = 0; | // int options = 0; |
| // Changed by PH as a result of bugzilla #1288 |
| int options = (options_.all_options() & PCRE_NO_UTF8_CHECK); |
| |
if (anchor != UNANCHORED) |
if (anchor != UNANCHORED) |
options |= PCRE_ANCHORED; |
options |= PCRE_ANCHORED; |
if (!empty_ok) |
if (!empty_ok) |