зеркало из https://github.com/github/ruby.git
* lib/csv.rb: Some minor documentation fixes from Gregory Brown.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
111c48e611
Коммит
f45caa14f6
|
@ -1,3 +1,7 @@
|
||||||
|
Wed Mar 4 05:19:27 2009 James Edward Gray II <jeg2@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/csv.rb: Some minor documentation fixes from Gregory Brown.
|
||||||
|
|
||||||
Wed Mar 4 03:42:56 2009 James Edward Gray II <jeg2@ruby-lang.org>
|
Wed Mar 4 03:42:56 2009 James Edward Gray II <jeg2@ruby-lang.org>
|
||||||
|
|
||||||
* lib/csv.rb: A patch from Madoka Yakamamoto to prevent an infinite
|
* lib/csv.rb: A patch from Madoka Yakamamoto to prevent an infinite
|
||||||
|
|
|
@ -2238,10 +2238,10 @@ class CSV
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
# This method is an encoding safe version of Regexp::escape(). I will escape
|
# This method is an encoding safe version of Regexp::escape(). It will escape
|
||||||
# any characters that would change the meaning of a regular expression in the
|
# any characters that would change the meaning of a regular expression in the
|
||||||
# encoding of +str+. Regular expression characters that cannot be transcoded
|
# encoding of +str+. Regular expression characters that cannot be transcoded
|
||||||
# to the target encodign will be skipped and no escaping will be performed if
|
# to the target encoding will be skipped and no escaping will be performed if
|
||||||
# a backslash cannot be transcoded.
|
# a backslash cannot be transcoded.
|
||||||
#
|
#
|
||||||
def escape_re(str)
|
def escape_re(str)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче