Actions
Bug #11311
closedSTRING::Scan method badly interpret i option - Ruby 2.1.*
Bug #11311:
STRING::Scan method badly interpret i option - Ruby 2.1.*
Description
'SKYPE'.scan(/[^aeiouyAEIOUY\W]/i) #returns ["P"] instead of ["S", "K", "P"]
Tested on Ruby 2.1.3 / 2.1.5 / 2.1.6
regexp i option: case insensitive
Actions