Forum: Ruby-core [ruby-trunk - Bug #7534][Open] /(?i:[\W])/ and /(?i:[\w])/ both match "s"

Posted by hasari (Hiro Asari) (Guest)
on 2012-12-08 07:11
(Received via mailing list)
Issue #7534 has been reported by hasari (Hiro Asari).

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

Author: hasari (Hiro Asari)
Status: Open
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
Posted by hasari (Hiro Asari) (Guest)
on 2012-12-08 07:13
(Received via mailing list)
Issue #7534 has been updated by hasari (Hiro Asari).


This was reported by Ian Leitch. 
https://twitter.com/ileitch/status/277234777118093314 
(https://gist.github.com/4236706)
----------------------------------------
Bug #7534: /(?i:[\W])/ and /(?i:[\w])/ both match "s"
https://bugs.ruby-lang.org/issues/7534#change-34532

Author: hasari (Hiro Asari)
Status: Open
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
Posted by charliesome (Charlie Somerville) (Guest)
on 2012-12-08 07:14
(Received via mailing list)
Issue #7534 has been updated by charliesome (Charlie Somerville).


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

Author: hasari (Hiro Asari)
Status: Open
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
Posted by Heesob Park (phasis)
on 2012-12-08 09:19
(Received via mailing list)
Issue #7534 has been updated by phasis68 (Heesob Park).


As far as I can remember, this issue is two years old.
Refer to #4044
----------------------------------------
Bug #7534: /(?i:[\W])/ and /(?i:[\w])/ both match "s"
https://bugs.ruby-lang.org/issues/7534#change-34537

Author: hasari (Hiro Asari)
Status: Open
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
Posted by hasari (Hiro Asari) (Guest)
on 2012-12-08 14:59
(Received via mailing list)
Issue #7534 has been updated by hasari (Hiro Asari).


Indeed, this is a duplicate of #4044. My apologies. Please close this 
one. Thank you.
----------------------------------------
Bug #7534: /(?i:[\W])/ and /(?i:[\w])/ both match "s"
https://bugs.ruby-lang.org/issues/7534#change-34541

Author: hasari (Hiro Asari)
Status: Open
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
Posted by Vít Ondruch (vo_x)
on 2012-12-08 15:10
(Received via mailing list)
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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.