ruby-changes:31578
From: zzak <ko1@a...>
Date: Wed, 13 Nov 2013 09:05:44 +0900 (JST)
Subject: [ruby-changes:31578] zzak:r43657 (trunk): * doc/regexp.rdoc: [DOC] add note about Bug #4044 as suggested by
zzak 2013-11-13 09:05:38 +0900 (Wed, 13 Nov 2013) New Revision: 43657 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43657 Log: * doc/regexp.rdoc: [DOC] add note about Bug #4044 as suggested by duerst-san in [ruby-core:43612] [Fixes GH-443] Patched by @rosenfeld https://github.com/ruby/ruby/pull/443 Modified files: trunk/ChangeLog trunk/doc/regexp.rdoc Index: doc/regexp.rdoc =================================================================== --- doc/regexp.rdoc (revision 43656) +++ doc/regexp.rdoc (revision 43657) @@ -121,7 +121,9 @@ The following metacharacters also behave https://github.com/ruby/ruby/blob/trunk/doc/regexp.rdoc#L121 * <tt>/./</tt> - Any character except a newline. * <tt>/./m</tt> - Any character (the +m+ modifier enables multiline mode) * <tt>/\w/</tt> - A word character (<tt>[a-zA-Z0-9_]</tt>) -* <tt>/\W/</tt> - A non-word character (<tt>[^a-zA-Z0-9_]</tt>) +* <tt>/\W/</tt> - A non-word character (<tt>[^a-zA-Z0-9_]</tt>). + Please take a look at {Bug #4044}[https://bugs.ruby-lang.org/issues/4044] if + using <tt>/\W/</tt> with the <tt>/i</tt> modifier. * <tt>/\d/</tt> - A digit character (<tt>[0-9]</tt>) * <tt>/\D/</tt> - A non-digit character (<tt>[^0-9]</tt>) * <tt>/\h/</tt> - A hexdigit character (<tt>[0-9a-fA-F]</tt>) Index: ChangeLog =================================================================== --- ChangeLog (revision 43656) +++ ChangeLog (revision 43657) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Nov 13 09:03:40 2013 Zachary Scott <e@z...> + + * doc/regexp.rdoc: [DOC] add note about Bug #4044 as suggested by + duerst-san in [ruby-core:43612] [Fixes GH-443] Patched by @rosenfeld + https://github.com/ruby/ruby/pull/443 + Tue Nov 12 10:15:14 2013 Eric Hodel <drbrain@s...> * test/rubygems/insure_session.rb: Remove unused test file. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/