Fix String#scan and {Regexp,String}#match