Reply to Re: Regular expression bug with php 5.5 & PCRE 8.53

Re: Regular expression bug with php 5.5 & PCRE 8.53 new!
by LUCAS, 9 years, 6 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

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important