add string-to-regex extention