Regex failed on php 7.3
-
Hi,
after upgrade php to 7.3 the regex in simple_html_dom.php file generate this warning: preg_match(): Compilation failed: invalid range in character class at offset 4.
The compromised regexs is on line 1375 and 685.
The cause is that hyphens is not escaped.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Regex failed on php 7.3’ is closed to new replies.