From 0977fe17053680310cb0611e9ad2df705d05a070 Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 29 Mar 2003 06:39:50 +0000 Subject: * instruby.rb, ext/extmk.rb, lib/benchmark.rb, lib/cgi.rb, lib/debug.rb, lib/getoptlong.rb, lib/optparse.rb, lib/time.rb, lib/date/format.rb, lib/irb/ruby-lex.rb lib/uri/common.rb: revert escape for `-' in character class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/irb/ruby-lex.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/irb') diff --git a/lib/irb/ruby-lex.rb b/lib/irb/ruby-lex.rb index 80d392a492..26b0b3b7c2 100644 --- a/lib/irb/ruby-lex.rb +++ b/lib/irb/ruby-lex.rb @@ -948,7 +948,7 @@ class RubyLex allow_point = false when allow_e && "e", allow_e && "E" type = TkFLOAT - if peek(0) =~ /[+\-]/ + if peek(0) =~ /[+-]/ getc end allow_e = false -- cgit v1.2.3