Project

General

Profile

Actions

Bug #7534

closed

/(?i:[\W])/ and /(?i:[\w])/ both match "s"

Added by hasari (Hiro Asari) almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.0.0dev (2012-12-08 trunk 38268) [x86_64-darwin12.2.1]
Backport:
[ruby-core:50685]

Description

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


Related issues 2 (0 open2 closed)

Is duplicate of Ruby master - Bug #7533: Oniguruma hates the letter 's' :(Closednaruse (Yui NARUSE)12/08/2012Actions
Is duplicate of Ruby master - Bug #4044: Regex matching errors when using \W character class and /i optionClosednaruse (Yui NARUSE)Actions

Updated by Anonymous almost 12 years ago

Related to #7533

Updated by phasis68 (Heesob Park) almost 12 years ago

As far as I can remember, this issue is two years old.
Refer to #4044

Updated by hasari (Hiro Asari) almost 12 years ago

Indeed, this is a duplicate of #4044. My apologies. Please close this one. Thank you.

Updated by vo.x (Vit Ondruch) almost 12 years ago

  • Status changed from Open to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0