From: matz@... (Yukihiro Matsumoto) Date: 2001-07-05T12:47:29+09:00 Subject: [ruby-talk:17272] Re: Bug with $= and regexps? Hi, In message "[ruby-talk:17270] Re: Bug with $= and regexps?" on 01/07/05, Yukihiro Matsumoto writes: ||Could someone explain this behaviour to me? |a bug (shortest explanation I ever see). ..and here's the patch for it. --- regex.c 2001/06/29 08:32:52 1.38.2.10 +++ regex.c 2001/07/05 03:37:41 @@ -4239,3 +4239,2 @@ PREFETCH; - c = *d++; if (*p == 0xff) { @@ -4248,2 +4247,3 @@ } + c = *d++; if (ismbchar(c)) {