add String#scan for Regexp class