pioz / chess

A fast chess library that use bitboards to play chess with Ruby
GNU Lesser General Public License v3.0
59 stars 17 forks source link

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

Closed ghost closed 11 years ago

ghost commented 11 years ago

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.

pioz commented 11 years ago

This gem support Ruby 1.9 or higher.