Project

General

Profile

Bug #3338

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

Added by nobu (Nobuyoshi Nakada) about 10 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
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

#1

Updated by nobu (Nobuyoshi Nakada) about 10 years ago

  • Category set to M17N
  • Target version set to 1.9.2

=begin

=end

#2

Updated by naruse (Yui NARUSE) about 10 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

Also available in: Atom PDF