我有一系列匹配的单词:
$search = array("lorem","dolor","sit");
还有一个要搜索的数组:
$results= array(
"Lorem ipsum dolor sit amet, consectetur",
"Ut enim ad minim veniam, quis nostrud exercitation"
"Duis aute irure dolor in reprehenderit in voluptate velit esse"
"Excepteur sint occaecat cupidatat non proident"
);
在两个给定单词匹配的情况下,是否有正则表达式返回true ?