Regular expression bug with php 5.5 & PCRE 8.53

See all posts See thread Reply

Re: Regular expression bug with php 5.5 & PCRE 8.53 new!
by colin, 9 years, 11 months ago
You are right, and it is in fact already fixed in the yet-to-be-released next version. You can download the dev version here.Reply
Re: Regular expression bug with php 5.5 & PCRE 8.53 new!
by LUCAS, 9 years, 5 months ago
OK for ver class.upload.php v0.33dev

Problem PHP 5.5 is cape "-" =>"\-"

OK PHP 5.5=>
preg_match("/^([\.\-\w]+)\/([\.\-\w]+)(.*)$/i", $this->file_src_mime)

ERROR EN PHP 5.5 <
preg_match("/^([\.-\w]+)\/([\.-\w]+)(.*)$/i", $this->file_src_mime)Reply