[#78633] ruby/spec needs help from CRuby committers — Benoit Daloze <eregontp@...>
Currently, ruby/spec is maintained mostly by individuals and enjoys the
13 messages
2016/12/13
[#78963] Re: ruby/spec needs help from CRuby committers
— Urabe Shyouhei <shyouhei@...>
2017/01/04
I did ask attendees of last developer meeting to join this
[#78642] Re: ruby/spec needs help from CRuby committers
— Eric Wong <normalperson@...>
2016/12/14
Benoit Daloze <eregontp@gmail.com> wrote:
[ruby-core:78592] [Ruby trunk Bug#13024] Confusing error message matching a non-ASCII string with ASCII-regex
From:
ruby@...
Date:
2016-12-11 19:28:20 UTC
List:
ruby-core #78592
Issue #13024 has been reported by Herwin W. ---------------------------------------- Bug #13024: Confusing error message matching a non-ASCII string with ASCII-regex https://bugs.ruby-lang.org/issues/13024 * Author: Herwin W * Status: Open * Priority: Normal * Assignee: * ruby -v: * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- ```ruby irb(main):001:0> "\u2603".match(/./n) (irb):1: warning: regexp match /.../n against to UTF-8 string => #<MatchData "☃"> ``` I actually had to read the source to discover the intention of this error (partly because I copied the `/n` from somewhere without knowing what it meant). Replacing "against to" with just "against" would improve the grammar (full disclosure: English isn't my native language either, I'm open to other suggestions here). -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>