Issue #7534 has been updated by vo.x (Vit Ondruch).

Status changed from Open to Closed


----------------------------------------
Bug #7534: /(?i:[\W])/ and /(?i:[\w])/ both match "s"
https://bugs.ruby-lang.org/issues/7534#change-34542

Author: hasari (Hiro Asari)
Status: Closed
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 2.0.0dev (2012-12-08 trunk 38268) [x86_64-darwin12.2.1]


If you drop any of the 3 conditions - case-insensitivity, character class, or "s" - this bug does not happen.

See https://gist.github.com/4238886


-- 
http://bugs.ruby-lang.org/