Accommodated for utf-8 phrases in the pattern in three more places (where preg_quote() was used)