--- embedaddon/pcre/pcrecpp.cc 2012/02/21 23:50:25 1.1.1.2 +++ embedaddon/pcre/pcrecpp.cc 2013/07/22 08:25:56 1.1.1.3 @@ -521,7 +521,10 @@ int RE::TryMatch(const StringPiece& text, 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) options |= PCRE_ANCHORED; if (!empty_ok)