开发者

Convert POSIX pattern to PCRE in php (eregi to preg_match)

开发者 https://www.devze.com 2023-02-16 11:59 出处:网络
eregi(\"<input[[:space:]]+type=[\\\"\\\'开发者_运维百科]?hidden[\\\"\\\']?[[:space:]]+value=[\\\"\\\']?([^> \\\"\\\']+)[\\\"\\\']?[[:space:]]+name=[\\\"\\\']?(form_page_origine|form_origine|page
eregi("<input[[:space:]]+type=[\"\'开发者_运维百科]?hidden[\"\']?[[:space:]]+value=[\"\']?([^> \"\']+)[\"\']?[[:space:]]+name=[\"\']?(form_page_origine|form_origine|page_origine)[\"\']?[[:space:]]*/?>"

How can I switch it to preg_match? thank.


Have a look at http://php.net/manual/en/reference.pcre.pattern.posix.php you will find all the informations you need.

0

精彩评论

暂无评论...
验证码 换一张
取 消