Gareth Adams

  • Email:
  • Registered on: 01/10/2012
  • Last connection: 01/10/2012

Activity

Reported issues: 1

01/10/2012

02:06 AM Ruby trunk Bug #5871: regexp \W matches some word characters when inside a case-insensitive character class
=begin
Thanks to investigation from #ruby-lang, It seems this issue only occurs with UTF-8 strings
ruby-1.9.2-p2...
01:46 AM Ruby trunk Bug #5871: regexp \W matches some word characters when inside a case-insensitive character class
I've now also seen at least one report that this doesn't affect 1.9.3p0 (win32)
01:40 AM Ruby trunk Bug #5871: regexp \W matches some word characters when inside a case-insensitive character class
=begin
As a simpler test case:
> "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".scan /[\W]/i
=> ...
01:25 AM Ruby trunk Bug #5871 (Rejected): regexp \W matches some word characters when inside a case-insensitive chara...
=begin
The following replacement, which should do nothing, has removed the upper- and lower-case "K"s and "S"s from ...

Also available in: Atom