"〜"字符在下面的含义是什么?:
preg_match_all("~<img [^>]+>~", $inputw, $output);
我猜他们是开始和结束标记,如^和$.
php regex preg-match-all
php ×1
preg-match-all ×1
regex ×1