From: matz@... (Yukihiro Matsumoto) Date: 2001-06-06T15:51:53+09:00 Subject: [ruby-talk:16255] Re: A weird regex bug? Hi, In message "[ruby-talk:16243] Re: A weird regex bug?" on 01/06/06, ts writes: |pigeon% ruby -e 'puts "OK" if /(.|a)bd/ =~ "cxbd"' |pigeon% ruby -e 'puts "OK" if /(a|.)bd/ =~ "cxbd"' |OK | | The problem is in its optimization, more precisely here Sorry, it was too much optimization. I'll remove this soon. matz.