diff --git a/lib/node_modules/@stdlib/_tools/scripts/publish_packages.js b/lib/node_modules/@stdlib/_tools/scripts/publish_packages.js
index c4a8b37f93ca..1dd6834dada9 100644
--- a/lib/node_modules/@stdlib/_tools/scripts/publish_packages.js
+++ b/lib/node_modules/@stdlib/_tools/scripts/publish_packages.js
@@ -1380,7 +1380,7 @@ function publish( pkg, clbk ) {
debug( 'Replace GitHub MathJax equations with SVGs...' );
command = 'find . -type f -name \'*.md\' -print0 | xargs -0 perl -0777 -i -pe \'s/```math\\n([\\s\\S]+?)\\n```\\n\\n//g\'';
shell( command, opts );
- command = 'find . -type f -name \'*.md\' -print0 | xargs -0 perl -0777 -i -pe \'s/)/
/sg\'';
+ command = 'find . -type f -name \'*.md\' -print0 | xargs -0 perl -0777 -i -pe \'s/)/
/sg\'';
shell( command, opts );
debug( 'Replace GitHub links to individual packages with npm links...' );
diff --git a/lib/node_modules/@stdlib/_tools/scripts/templates/workflow_publish.yml.txt b/lib/node_modules/@stdlib/_tools/scripts/templates/workflow_publish.yml.txt
index e51ac0f94464..f053e429f6eb 100644
--- a/lib/node_modules/@stdlib/_tools/scripts/templates/workflow_publish.yml.txt
+++ b/lib/node_modules/@stdlib/_tools/scripts/templates/workflow_publish.yml.txt
@@ -153,7 +153,7 @@ jobs:
- name: 'Replace GitHub MathJax equations with SVGs'
run: |
find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe 's/```math\n([\s\S]+?)\n```\n\n//g'
- find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe 's/)/
/sg'
+ find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe 's/)/
/sg'
# Replace GitHub links to individual packages with npm links:
- name: 'Replace all GitHub links to individual packages with npm links'
diff --git a/lib/node_modules/@stdlib/_tools/scripts/templates/workflow_publish_cli.yml.txt b/lib/node_modules/@stdlib/_tools/scripts/templates/workflow_publish_cli.yml.txt
index 114194a4f3b4..816242020789 100644
--- a/lib/node_modules/@stdlib/_tools/scripts/templates/workflow_publish_cli.yml.txt
+++ b/lib/node_modules/@stdlib/_tools/scripts/templates/workflow_publish_cli.yml.txt
@@ -115,7 +115,7 @@ jobs:
- name: 'Replace GitHub MathJax equations with SVGs'
run: |
find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe 's/```math\n([\s\S]+?)\n```\n\n//g'
- find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe 's/)/
/sg'
+ find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe 's/)/
/sg'
# Replace GitHub links to individual packages with npm links:
- name: 'Replace all GitHub links to individual packages with npm links'
diff --git a/lib/node_modules/@stdlib/_tools/scripts/templates/workflow_publish_toplevel.yml.txt b/lib/node_modules/@stdlib/_tools/scripts/templates/workflow_publish_toplevel.yml.txt
index 287a48c4aa19..260361fef703 100644
--- a/lib/node_modules/@stdlib/_tools/scripts/templates/workflow_publish_toplevel.yml.txt
+++ b/lib/node_modules/@stdlib/_tools/scripts/templates/workflow_publish_toplevel.yml.txt
@@ -111,7 +111,7 @@ jobs:
- name: 'Replace GitHub MathJax equations with SVGs'
run: |
find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe 's/```math\n([\s\S]+?)\n```\n\n//g'
- find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe 's/)/
/sg'
+ find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe 's/)/
/sg'
# Replace GitHub links to individual packages with npm links:
- name: 'Replace all GitHub links to individual packages with npm links'