Move validation inside Movebuilder using regex
This commit is contained in:
@@ -839,6 +839,7 @@ class FenParser0x88
|
||||
function getFromAndToByNotation($notation)
|
||||
{
|
||||
$notation = str_replace(".", "", $notation);
|
||||
|
||||
$ret = array('promoteTo' => $this->getPromoteByNotation($notation));
|
||||
$color = $this->getColor();
|
||||
|
||||
|
Reference in New Issue
Block a user