pioz / chess

A fast chess library that use bitboards to play chess with Ruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chess/gnuchess.rb:53: warning: regexp has invalid interval

opened this issue · comments

chess/gnuchess.rb:53: warning: regexp has invalid interval

There are some regexp with invalid intervals.

Is the code ruby 1.9.x or higher only? If so a proper check might be in order.

Or, to have the code work on both versions (including 1.8.x) and change the regexp there.

This gem support Ruby 1.9 or higher.