diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2014-06-18 17:17:03 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2014-06-18 17:17:03 +0000 |
commit | 8d8c3dbadff3d0735ba696acf211c14b3025622f (patch) | |
tree | 2c07abc454777a3f5b29b7c49fed6bcbdaed5a57 /pcre_compile.c | |
parent | 4d22b1ee5e92dbd075967491d8ec2d386f394bcf (diff) | |
download | pcre-8d8c3dbadff3d0735ba696acf211c14b3025622f.tar.gz |
Fix bad compile of [\Qx]... where x is any character.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1487 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_compile.c')
-rw-r--r-- | pcre_compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pcre_compile.c b/pcre_compile.c index 29d3c29..c44839e 100644 --- a/pcre_compile.c +++ b/pcre_compile.c @@ -5325,7 +5325,7 @@ for (;; ptr++) whatever repeat count may follow. In the case of reqchar, save the previous value for reinstating. */ - if (class_one_char == 1 && ptr[1] == CHAR_RIGHT_SQUARE_BRACKET) + if (!inescq && class_one_char == 1 && ptr[1] == CHAR_RIGHT_SQUARE_BRACKET) { ptr++; zeroreqchar = reqchar; |