Project

General

Profile

Actions

Bug #3338

closed

utf-8で全角のゼロとスラッシュが重複したキャラクタクラスと警告される

Added by nobu (Nobuyoshi Nakada) almost 14 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
ruby -v:
r27991
Backport:
[ruby-dev:41406]

Description

=begin
1.9.2と1.9.3で出ます。1.9.1では出ません。

$ ruby -v a.rb
ruby 1.9.3dev (2010-05-12 trunk 27758) [universal.x86_64-darwin9.0]
a.rb:3: warning: character class has duplicated range: /[0/]/

$ cat a.rb
#! /usr/local/bin/ruby

-- coding: utf-8 --

x=/[0/]/
=end

Actions #1

Updated by nobu (Nobuyoshi Nakada) almost 14 years ago

  • Category set to M17N
  • Target version set to 1.9.2

=begin

=end

Actions #2

Updated by naruse (Yui NARUSE) almost 14 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r28013.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0