Is it possible to do a preg_match
on something that shouldn't be a match whilst still returning true?
For example at the moment we have...
if (preg_match('#^Mozilla(.*)#', $agent)) {
We want to check if the Mozilla string is not in $agent but still have preg_match
return true.
So we can't change it to...
if (!preg_match('#^Mozilla(.*)#', $agent)) {
Thanks