diff options
author | Nuno Lopes <nlopess@php.net> | 2008-07-06 15:17:25 +0000 |
---|---|---|
committer | Nuno Lopes <nlopess@php.net> | 2008-07-06 15:17:25 +0000 |
commit | 053dc572cae9811b28aca7e4494051bba2bcae51 (patch) | |
tree | bd19ec37ad302e591b4dfc18c5a61014a85db856 /ext/pcre/pcrelib/pcre_study.c | |
parent | 21bca5add33a7f74527d8021d99adc953124bcfa (diff) | |
download | php-git-053dc572cae9811b28aca7e4494051bba2bcae51.tar.gz |
upgrade to PCRE 7.7
Diffstat (limited to 'ext/pcre/pcrelib/pcre_study.c')
-rw-r--r-- | ext/pcre/pcrelib/pcre_study.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/pcre/pcrelib/pcre_study.c b/ext/pcre/pcrelib/pcre_study.c index b396d72184..25d5e1786e 100644 --- a/ext/pcre/pcrelib/pcre_study.c +++ b/ext/pcre/pcrelib/pcre_study.c @@ -215,6 +215,13 @@ do tcode += 1 + LINK_SIZE; break; + /* SKIPZERO skips the bracket. */ + + case OP_SKIPZERO: + do tcode += GET(tcode,1); while (*tcode == OP_ALT); + tcode += 1 + LINK_SIZE; + break; + /* Single-char * or ? sets the bit and tries the next item */ case OP_STAR: @@ -339,6 +346,7 @@ do switch(tcode[1]) { case OP_ANY: + case OP_ALLANY: return SSB_FAIL; case OP_NOT_DIGIT: |