Added support for one line pgn

This commit is contained in:
DHTMLGoodies
2017-03-01 19:43:06 +01:00
parent 83efc94107
commit a834acb72e
5 changed files with 225 additions and 9 deletions

View File

@@ -65,6 +65,8 @@ class PgnParser
{
$c = $this->pgnContent;
$c = preg_replace('/"\]\s{0,10}\[/s', "]\n[", $c);
$c = preg_replace("/{\s{0,6}\[%emt[^\}]*?\}/","",$c);
$c = preg_replace("/\\$[0-9]+/s", "", $c);