Fixed slash delimiter in search string, which failes inside regex quote function