diff options
| author | Nuno Lopes <nlopess@php.net> | 2007-02-09 19:48:47 +0000 |
|---|---|---|
| committer | Nuno Lopes <nlopess@php.net> | 2007-02-09 19:48:47 +0000 |
| commit | b3e66c616dcc1f5d9988d3e485dcd00bbba6fabe (patch) | |
| tree | 7d627e2f5988d55ae5dd3b76171b94fc9ab0bc7d /ext/pcre/pcrelib/pcre_maketables.c | |
| parent | e6d69595afed237cdfe561c9f052efb41f41c622 (diff) | |
| download | php-git-b3e66c616dcc1f5d9988d3e485dcd00bbba6fabe.tar.gz | |
upgrade pcre to version 7.0
Diffstat (limited to 'ext/pcre/pcrelib/pcre_maketables.c')
| -rw-r--r-- | ext/pcre/pcrelib/pcre_maketables.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pcre/pcrelib/pcre_maketables.c b/ext/pcre/pcrelib/pcre_maketables.c index 7cba5acccc..29e40989bf 100644 --- a/ext/pcre/pcrelib/pcre_maketables.c +++ b/ext/pcre/pcrelib/pcre_maketables.c @@ -6,7 +6,7 @@ and semantics are as close as possible to those of the Perl 5 language. Written by Philip Hazel - Copyright (c) 1997-2007 University of Cambridge + Copyright (c) 1997-2006 University of Cambridge ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without @@ -130,7 +130,7 @@ for (i = 0; i < 256; i++) meta-character, which in this sense is any character that terminates a run of data characters. */ - if (strchr("*+?{^.$|()[", i) != 0) x += ctype_meta; + if (strchr("\\*+?{^.$|()[", i) != 0) x += ctype_meta; *p++ = x; } |
