Move validation inside Movebuilder using regex

This commit is contained in:
Alf Magne Kalleland
2013-02-18 20:31:36 +01:00
parent 1dfda67d61
commit ee52853327
3 changed files with 52 additions and 1 deletions

View File

@@ -839,6 +839,7 @@ class FenParser0x88
function getFromAndToByNotation($notation)
{
$notation = str_replace(".", "", $notation);
$ret = array('promoteTo' => $this->getPromoteByNotation($notation));
$color = $this->getColor();