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
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0