[前][次][番号順一覧][スレッド一覧]

ruby-changes:5478

From: shyouhei <ko1@a...>
Date: Sun, 8 Jun 2008 05:13:13 +0900 (JST)
Subject: [ruby-changes:5478] Ruby:r16982 (ruby_1_8_6): merge revision(s) 14178:

shyouhei	2008-06-08 05:11:00 +0900 (Sun, 08 Jun 2008)

  New Revision: 16982

  Modified files:
    branches/ruby_1_8_6/lib/uri/common.rb
    branches/ruby_1_8_6/version.h

  Log:
    merge revision(s) 14178:
    * lib/uri/common.rb (URI::REGEXP::PATTERN): typo in REG_NAME
      regular expression.  a patch from Ueda Satoshi
      <s-ueda AT livedoor.jp>.  [ruby-dev:32514]


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/version.h?r1=16982&r2=16981&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/lib/uri/common.rb?r1=16982&r2=16981&diff_format=u

Index: ruby_1_8_6/version.h
===================================================================
--- ruby_1_8_6/version.h	(revision 16981)
+++ ruby_1_8_6/version.h	(revision 16982)
@@ -2,7 +2,7 @@
 #define RUBY_RELEASE_DATE "2008-06-08"
 #define RUBY_VERSION_CODE 186
 #define RUBY_RELEASE_CODE 20080608
-#define RUBY_PATCHLEVEL 157
+#define RUBY_PATCHLEVEL 158
 
 #define RUBY_VERSION_MAJOR 1
 #define RUBY_VERSION_MINOR 8
Index: ruby_1_8_6/lib/uri/common.rb
===================================================================
--- ruby_1_8_6/lib/uri/common.rb	(revision 16981)
+++ ruby_1_8_6/lib/uri/common.rb	(revision 16982)
@@ -110,7 +110,7 @@
       SERVER = "(?:#{USERINFO}@)?#{HOSTPORT}"
       # reg_name      = 1*( unreserved | escaped | "$" | "," |
       #                     ";" | ":" | "@" | "&" | "=" | "+" )
-      REG_NAME = "(?:[#{UNRESERVED}$,;+@&=+]|#{ESCAPED})+"
+      REG_NAME = "(?:[#{UNRESERVED}$,;:@&=+]|#{ESCAPED})+"
       # authority     = server | reg_name
       AUTHORITY = "(?:#{SERVER}|#{REG_NAME})"
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]