From 6c8c93f4514faee8292bd2ab7047866156b032bd Mon Sep 17 00:00:00 2001 From: Bruno Raoult Date: Sat, 5 Jun 2021 13:12:35 +0200 Subject: [PATCH] Cancel "$1" style removal in cleanPgn --- PgnParser.php | 1 - 1 file changed, 1 deletion(-) diff --git a/PgnParser.php b/PgnParser.php index 1a2ae77..256224a 100755 --- a/PgnParser.php +++ b/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);