So, you can even inline the preg_match into the condition itself.