ruby-changes:33656
From: nobu <ko1@a...>
Date: Tue, 29 Apr 2014 00:20:37 +0900 (JST)
Subject: [ruby-changes:33656] nobu:r45737 (trunk): fix typo [Fix GH-603]
nobu 2014-04-29 00:20:28 +0900 (Tue, 29 Apr 2014) New Revision: 45737 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45737 Log: fix typo [Fix GH-603] * bootstraptest/test_literal.rb: fix typo of "dynamic". [ci skip] * regexp.rdoc: fix typo of "organized". [ci skip] * lib/session.rb: fix typo of "recognized". [ci skip] Modified files: trunk/ChangeLog trunk/bootstraptest/test_literal.rb trunk/doc/regexp.rdoc trunk/lib/cgi/session.rb Index: doc/regexp.rdoc =================================================================== --- doc/regexp.rdoc (revision 45736) +++ doc/regexp.rdoc (revision 45737) @@ -545,7 +545,7 @@ Options may also be used with <tt>Regexp https://github.com/ruby/ruby/blob/trunk/doc/regexp.rdoc#L545 As mentioned above, the <tt>x</tt> option enables <i>free-spacing</i> mode. Literal white space inside the pattern is ignored, and the octothorpe (<tt>#</tt>) character introduces a comment until the end of -the line. This allows the components of the pattern to be organised in a +the line. This allows the components of the pattern to be organized in a potentially more readable fashion. A contrived pattern to match a number with optional decimal places: Index: ChangeLog =================================================================== --- ChangeLog (revision 45736) +++ ChangeLog (revision 45737) @@ -1,3 +1,11 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Apr 29 00:20:26 2014 Rajarshi Das <rajarshid@c...> + + * bootstraptest/test_literal.rb: fix typo of "dynamic". [ci skip] + + * regexp.rdoc: fix typo of "organized". [ci skip] + + * lib/session.rb: fix typo of "recognized". [ci skip] + Mon Apr 28 21:40:27 2014 NARUSE, Yui <naruse@r...> * configure.in (HAVE_STRUCT_STATFS_F_TYPE): check struct statfs.f_type Index: bootstraptest/test_literal.rb =================================================================== --- bootstraptest/test_literal.rb (revision 45736) +++ bootstraptest/test_literal.rb (revision 45737) @@ -84,7 +84,7 @@ assert_equal '0', 're = /t https://github.com/ruby/ruby/blob/trunk/bootstraptest/test_literal.rb#L84 assert_equal '0', 'str = "test"; /test/ =~ str' assert_equal '0', 're = /test/; str = "test"; re =~ str' -# dynacmi regexp +# dynamic regexp assert_equal 'regexp', %q(/re#{'ge'}xp/.source) assert_equal 'Regexp', %q(/re#{'ge'}xp/.class) Index: lib/cgi/session.rb =================================================================== --- lib/cgi/session.rb (revision 45736) +++ lib/cgi/session.rb (revision 45737) @@ -453,7 +453,7 @@ class CGI https://github.com/ruby/ruby/blob/trunk/lib/cgi/session.rb#L453 # # +session+ is the session this instance is associated with. # +option+ is a list of initialisation options. None are - # currently recognised. + # currently recognized. def initialize(session, option=nil) @session_id = session.session_id unless GLOBAL_HASH_TABLE.key?(@session_id) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/