summaryrefslogtreecommitdiff
path: root/pcre_study.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2011-11-19 18:32:18 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2011-11-19 18:32:18 +0000
commit8f0ed27a10ee3efb8b11a044637144fb8fc6641f (patch)
treec74caa3f756e12f475c840392d507a89bcfe8bc8 /pcre_study.c
parent8e93f278ded1ac082d15af60dcf24fc6a8d2a672 (diff)
downloadpcre-8f0ed27a10ee3efb8b11a044637144fb8fc6641f.tar.gz
Support \C in lookbehinds and DFA matching when not in UTF-8 mode.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@754 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_study.c')
-rw-r--r--pcre_study.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pcre_study.c b/pcre_study.c
index d4b2100..9da92bf 100644
--- a/pcre_study.c
+++ b/pcre_study.c
@@ -286,7 +286,9 @@ for (;;)
cc++;
break;
- /* The single-byte matcher means we can't proceed in UTF-8 mode */
+ /* The single-byte matcher means we can't proceed in UTF-8 mode. (In
+ non-UTF-8 mode \C will actually be turned into OP_ALLANY, so won't ever
+ appear, but leave the code, just in case.) */
case OP_ANYBYTE:
#ifdef SUPPORT_UTF8