标签: php
我现在尝试过:
preg_match_all('/(dog)/', 'dog cat dog', $matches);
它给出了一个空数组的结果。 PCRE已启用,并且可以与'/dog/'之类的普通表达式正常工作。
'/dog/'
php 7.1.9