https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112010-04-21T13:12:02ZRuby Issue Tracking SystemBackport191 - Bug #3181: Possible regexp regression in 1.9.1-p378https://bugs.ruby-lang.org/issues/3181?journal_id=103892010-04-21T13:12:02Znaruse (Yui NARUSE)naruse@airemix.jp
<ul><li><strong>Category</strong> set to <i>core</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Rejected</i></li></ul><p>=begin<br>
It is intended, \s/\d/\w is ASCII after 1.9.1p378 and 1.9.2.<br>
(ruby 1.9.2dev (2009-07-18 trunk 24186) is too old, current trunk is ASCII)<br>
This is because many codes which use \s and \d doesn't work on 1.9, so it was judged as a bug.</p>
<p>Anyway I'm interesting in real usage of \w in UTF-8 context, can you show the real example?<br>
=end</p> Backport191 - Bug #3181: Possible regexp regression in 1.9.1-p378https://bugs.ruby-lang.org/issues/3181?journal_id=129942010-08-26T23:54:58Zrogerdpack (Roger Pack)rogerpack2005@gmail.com
<ul></ul><p>=begin</p>
<blockquote>
<p>Anyway I'm interesting in real usage of \w in UTF-8 context, can you show the real example?</p>
</blockquote>
<p>Here's some related questions/uses, I believe:</p>
<p><a href="http://stackoverflow.com/questions/3576232/how-to-match-unicode-words-with-ruby-1-9" class="external">http://stackoverflow.com/questions/3576232/how-to-match-unicode-words-with-ruby-1-9</a><br>
<a href="http://www.ruby-forum.com/topic/208777" class="external">http://www.ruby-forum.com/topic/208777</a></p>
<p>Though too late to change it now :)<br>
=end</p>