aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rwxr-xr-xsetenv.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/setenv.sh b/setenv.sh
index eda19d4..5758846 100755
--- a/setenv.sh
+++ b/setenv.sh
@@ -63,7 +63,7 @@ pgn_lint() {
}
# Strips [%clk] tags from PGN files.
-alias pgn_strip_clk='sed --binary --in-place -- '"'"'s/ {\[%clk [[:digit:]]\+:[[:digit:]]\+\(:[[:digit:]]\+\)*\]}//g'"'"
+alias pgn_strip_clk='sed --binary --in-place -- '"'"'s/ {\s*\[%clk [[:digit:]]\+:[[:digit:]]\+\(:[[:digit:]]\+\)*\]\s*}//g'"'"
# Places main line moves on separate lines.
alias pgn_slice_moves='sed --binary --in-place -- '"'"'s/ \([[:digit:]]\+\.\)/\n\1/g'"'"