EZP-20905: remove preg_match