Add additional preg_match test case (cherry picked from commit a1a044dcc74379fafb2b63db5ab033aa062aada7 on author's explicit request)