Forum: Ruby-core [ruby-trunk - Bug #7533][Open] Oniguruma hates the letter 's' :(

Posted by ileitch (Ian Leitch) (Guest)
on 2012-12-08 03:31
(Received via mailing list)
Issue #7533 has been reported by ileitch (Ian Leitch).

----------------------------------------
Bug #7533: Oniguruma hates the letter 's' :(
https://bugs.ruby-lang.org/issues/7533

Author: ileitch (Ian Leitch)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 2.0.0dev (2012-12-08) [x86_64-darwin12.2.0]


MRI 2.0.0dev (2012-12-08), MRI 1.9.3-p327, Rubinius f76d3f67, JRuby 
1.7.1 (1.9.3)

>> "s.net" =~ /\A[^\W_]+([-.][^\W_]+)*\.[a-z]{2,6}\.?\Z/i
=> nil
>> "t.net" =~ /\A[^\W_]+([-.][^\W_]+)*\.[a-z]{2,6}\.?\Z/i
=> 0
>> "s.net" =~ /\A[^\W_]+([-.][^\W_]+)*\.[a-z]{2,6}\.?\Z/
=> 0

MRI 1.8.7-p371

>> $KCODE
=> "NONE"
>> "s.net" =~ /\A[^\W_]+([-.][^\W_]+)*\.[a-z]{2,6}\.?\Z/i
=> 0
>> $KCODE = 'UTF8'
=> "UTF8"
>> "s.net" =~ /\A[^\W_]+([-.][^\W_]+)*\.[a-z]{2,6}\.?\Z/i
=> 0

Rubinius f76d3f67, JRuby 1.7.1 (1.8.7)

>> $KCODE
=> "NONE"
>> "s.net" =~ /\A[^\W_]+([-.][^\W_]+)*\.[a-z]{2,6}\.?\Z/i
=> 0
>> $KCODE = 'UTF8'
=> "UTF8"
>> "s.net" =~ /\A[^\W_]+([-.][^\W_]+)*\.[a-z]{2,6}\.?\Z/i
=> nil
>> "t.net" =~ /\A[^\W_]+([-.][^\W_]+)*\.[a-z]{2,6}\.?\Z/i
=> 0
>> "s.net" =~ /\A[^\W_]+([-.][^\W_]+)*\.[a-z]{2,6}\.?\Z/
=> 0
Posted by naruse (Yui NARUSE) (Guest)
on 2013-01-09 09:01
(Received via mailing list)
Issue #7533 has been updated by naruse (Yui NARUSE).

Status changed from Assigned to Closed

Duplicated with #4044
----------------------------------------
Bug #7533: Oniguruma hates the letter 's' :(
https://bugs.ruby-lang.org/issues/7533#change-35299

Author: ileitch (Ian Leitch)
Status: Closed
Priority: Normal
Assignee: naruse (Yui NARUSE)
Category: core
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-12-08) [x86_64-darwin12.2.0]


MRI 2.0.0dev (2012-12-08), MRI 1.9.3-p327, Rubinius f76d3f67, JRuby 
1.7.1 (1.9.3)

>> "s.net" =~ /\A[^\W_]+([-.][^\W_]+)*\.[a-z]{2,6}\.?\Z/i
=> nil
>> "t.net" =~ /\A[^\W_]+([-.][^\W_]+)*\.[a-z]{2,6}\.?\Z/i
=> 0
>> "s.net" =~ /\A[^\W_]+([-.][^\W_]+)*\.[a-z]{2,6}\.?\Z/
=> 0

MRI 1.8.7-p371

>> $KCODE
=> "NONE"
>> "s.net" =~ /\A[^\W_]+([-.][^\W_]+)*\.[a-z]{2,6}\.?\Z/i
=> 0
>> $KCODE = 'UTF8'
=> "UTF8"
>> "s.net" =~ /\A[^\W_]+([-.][^\W_]+)*\.[a-z]{2,6}\.?\Z/i
=> 0

Rubinius f76d3f67, JRuby 1.7.1 (1.8.7)

>> $KCODE
=> "NONE"
>> "s.net" =~ /\A[^\W_]+([-.][^\W_]+)*\.[a-z]{2,6}\.?\Z/i
=> 0
>> $KCODE = 'UTF8'
=> "UTF8"
>> "s.net" =~ /\A[^\W_]+([-.][^\W_]+)*\.[a-z]{2,6}\.?\Z/i
=> nil
>> "t.net" =~ /\A[^\W_]+([-.][^\W_]+)*\.[a-z]{2,6}\.?\Z/i
=> 0
>> "s.net" =~ /\A[^\W_]+([-.][^\W_]+)*\.[a-z]{2,6}\.?\Z/
=> 0
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.