ruby-changes:24691
From: drbrain <ko1@a...>
Date: Tue, 21 Aug 2012 05:26:14 +0900 (JST)
Subject: [ruby-changes:24691] drbrain:r36742 (trunk): * re.c (rb_reg_initialize_m): Forgot to update output for or'd-options
drbrain 2012-08-21 05:26:06 +0900 (Tue, 21 Aug 2012) New Revision: 36742 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36742 Log: * re.c (rb_reg_initialize_m): Forgot to update output for or'd-options example. Modified files: trunk/ChangeLog trunk/re.c Index: ChangeLog =================================================================== --- ChangeLog (revision 36741) +++ ChangeLog (revision 36742) @@ -1,3 +1,8 @@ +Tue Aug 21 05:25:41 2012 Eric Hodel <drbrain@s...> + + * re.c (rb_reg_initialize_m): Forgot to update output for or'd-options + example. + Tue Aug 21 05:18:03 2012 Eric Hodel <drbrain@s...> * re.c (rb_reg_initialize_m): Update example to show that regexp Index: re.c =================================================================== --- re.c (revision 36741) +++ re.c (revision 36742) @@ -2888,10 +2888,10 @@ * * When the +lang+ parameter is `n' or `N' sets the regexp no encoding. * - * r1 = Regexp.new('^a-z+:\\s+\w+') #=> /^a-z+:\s+\w+/ - * r2 = Regexp.new('cat', true) #=> /cat/i - * r3 = Regexp.new(r2) #=> /cat/i - * r4 = Regexp.new('dog', Regexp::EXTENDED | Regexp::IGNORECASE) #=> /dog/x + * r1 = Regexp.new('^a-z+:\\s+\w+') #=> /^a-z+:\s+\w+/ + * r2 = Regexp.new('cat', true) #=> /cat/i + * r3 = Regexp.new(r2) #=> /cat/i + * r4 = Regexp.new('dog', Regexp::EXTENDED | Regexp::IGNORECASE) #=> /dog/ix */ static VALUE -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/