Browse Source

Cancel "$1" style removal in cleanPgn

master
Bruno Raoult 6 months ago
parent
commit
6c8c93f451
  1. 1
      PgnParser.php

1
PgnParser.php

@ -69,7 +69,6 @@ class PgnParser
$c = preg_replace("/{\s{0,6}\[%emt[^\}]*?\}/", "", $c);
$c = preg_replace("/\\$[0-9]+/s", "", $c);
$c = str_replace("({", "( {", $c);
$c = preg_replace("/{([^\[]*?)\[([^}]?)}/s", '{$1-SB-$2}', $c);
$c = preg_replace("/\r/s", "", $c);

Loading…
Cancel
Save