I tried it now:
preg_match_all('/(dog)/', 'dog cat dog', $matches);
And it gives a result of empty array. PCRE is enabled and works correctly with ordinary expression like '/dog/'.
'/dog/'
php 7.1.9