diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2011-11-21 12:05:36 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2011-11-21 12:05:36 +0000 |
commit | 130da81a5142a5cef80543ae5b64167229c23432 (patch) | |
tree | affe096c119e1bf0f17b0bc7be667fca876cc7b9 /pcreposix.c | |
parent | 8f0ed27a10ee3efb8b11a044637144fb8fc6641f (diff) | |
download | pcre-130da81a5142a5cef80543ae5b64167229c23432.tar.gz |
Disallow \N in character classes, for Perl compatibility.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@758 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcreposix.c')
-rw-r--r-- | pcreposix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pcreposix.c b/pcreposix.c index 648254b..b5f9d0e 100644 --- a/pcreposix.c +++ b/pcreposix.c @@ -155,6 +155,7 @@ static const int eint[] = { REG_BADPAT, /* \k is not followed by a braced, angle-bracketed, or quoted name */ /* 70 */ REG_BADPAT, /* internal error: unknown opcode in find_fixedlength() */ + REG_BADPAT, /* \N is not supported in a class */ }; /* Table of texts corresponding to POSIX error codes */ |