diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-08-29 11:24:23 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-08-29 11:24:23 +0000 |
commit | 4564a4adc51b983ea48bd3820e42d7388f38b273 (patch) | |
tree | 01ec0c1dca6d7f0ef05fed4f7d6a4e7bed1cd0bd /pcrecpp.cc | |
parent | daa458cc0a38fbb4b8ef52344531fd82ebf5dc0d (diff) | |
download | pcre-4564a4adc51b983ea48bd3820e42d7388f38b273.tar.gz |
Apply user patch to allow PCRE_NO_UTF8_CHECK in pcrecpp.cc.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1025 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcrecpp.cc')
-rw-r--r-- | pcrecpp.cc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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) |