General

Profile

gayahel (Agathe Begault)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

06/26/2015

04:13 PM Ruby Bug #11311: STRING::Scan method badly interpret i option - Ruby 2.1.*
~~~ruby
'SKYPE'.scan(/[^aeiouyAEIOUY\W]/i) #returns ["P"] instead of ["S", "K", "P"]
'SKYPE'.scan(/[^aeiouyAEIOUY\W]/) #returns ["S", "K", "P"]
~~~
Tested on Ruby 2.1.3 / 2.1.5 / 2.1.6
regexp i option: case insensitive
https://gi...
gayahel (Agathe Begault)
04:10 PM Ruby Bug #11311 (Closed): STRING::Scan method badly interpret i option - Ruby 2.1.*
~~~ruby
'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
https://github.com/ruby/ruby/blame/trunk/string.c#L7681
gayahel (Agathe Begault)

Also available in: Atom