bugfix escape charactor for Regexp class