diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2019-03-31 13:31:54 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-03-31 13:31:54 +0200 |
commit | 88460c017a06ce8865f1adcc8f70e511cf776e06 (patch) | |
tree | 84b2e4cb6d9acebfbe521d59986505b47f88060f /ext/pcre/php_pcre.c | |
parent | 0dbb581cf4d7e99cadda368c9edce5a721dc4036 (diff) | |
download | php-git-88460c017a06ce8865f1adcc8f70e511cf776e06.tar.gz |
Fix #77827: preg_match does not ignore \r in regex flags
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r-- | ext/pcre/php_pcre.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index 4cdd8bf27c..2e827298a9 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -486,6 +486,7 @@ PHPAPI pcre_cache_entry* pcre_get_compiled_regex_cache(zend_string *regex) case ' ': case '\n': + case '\r': break; default: |