summaryrefslogtreecommitdiff
path: root/core/pcre
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-11-02 13:41:57 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-11-02 13:41:57 +0000
commit9343f37ee7ba1aa98f65272412d331a280890e12 (patch)
treea4bf1207d01a10e5cf246f1a4755086280f47b70 /core/pcre
parent37a1064b8105764414f279ced442e6ba2f63bea1 (diff)
Wed Nov 2 13:41:53 UTC 2011
Diffstat (limited to 'core/pcre')
-rw-r--r--core/pcre/r661.diff26
1 files changed, 0 insertions, 26 deletions
diff --git a/core/pcre/r661.diff b/core/pcre/r661.diff
deleted file mode 100644
index 7bed4ce2e..000000000
--- a/core/pcre/r661.diff
+++ /dev/null
@@ -1,26 +0,0 @@
---- code/trunk/pcre_compile.c 2011/08/02 11:00:40 654
-+++ code/trunk/pcre_compile.c 2011/08/21 09:00:54 661
-@@ -2295,8 +2295,13 @@
- A user pointed out that PCRE was rejecting [:a[:digit:]] whereas Perl was not.
- It seems that the appearance of a nested POSIX class supersedes an apparent
- external class. For example, [:a[:digit:]b:] matches "a", "b", ":", or
--a digit. Also, unescaped square brackets may also appear as part of class
--names. For example, [:a[:abc]b:] gives unknown class "[:abc]b:]"in Perl.
-+a digit.
-+
-+In Perl, unescaped square brackets may also appear as part of class names. For
-+example, [:a[:abc]b:] gives unknown POSIX class "[:abc]b:]". However, for
-+[:a[:abc]b][b:] it gives unknown POSIX class "[:abc]b][b:]", which does not
-+seem right at all. PCRE does not allow closing square brackets in POSIX class
-+names.
-
- Arguments:
- ptr pointer to the initial [
-@@ -2314,6 +2319,7 @@
- {
- if (*ptr == CHAR_BACKSLASH && ptr[1] == CHAR_RIGHT_SQUARE_BRACKET)
- ptr++;
-+ else if (*ptr == CHAR_RIGHT_SQUARE_BRACKET) return FALSE;
- else
- {
- if (*ptr == terminator && ptr[1] == CHAR_RIGHT_SQUARE_BRACKET)