Implemented StringUtil.escapeRegExp.