From 91b2c643d2d6c72bf4d4a3959fc3a763cf09dbce Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Fri, 9 Jan 2026 01:20:41 +0000
Subject: [PATCH] Fix regex character class in version escaping
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
---
CHANGELOG.md | 2 +-
scripts/release/update_dates.sh | 3 ++-
src/templates/templateDetails.xml | 2 +-
updates.xml | 2 +-
4 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index daef112..2d85894 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -21,7 +21,7 @@
# Changelog — Moko-Cassiopeia (VERSION: 03.05.00)
-## [03.05.00] 2026-01-04
+## [03.05.00] 2026-01-09
- Created `.github/workflows`
- Replaced `./CODE_OF_CONDUCT.md` from `MokoStandards`
- Replaced `./CONTRIBUTING.md` from `MokoStandards`
diff --git a/scripts/release/update_dates.sh b/scripts/release/update_dates.sh
index f8875af..77f6031 100755
--- a/scripts/release/update_dates.sh
+++ b/scripts/release/update_dates.sh
@@ -42,7 +42,8 @@ echo "TODAY: ${TODAY}"
echo "VERSION: ${VERSION}"
# Escape special regex characters in VERSION for safe use in grep and sed
-VERSION_ESCAPED=$(printf '%s\n' "${VERSION}" | sed 's/[]\/$*.^[]/\\&/g')
+# Escapes: ] \ / $ * . ^ [
+VERSION_ESCAPED=$(printf '%s\n' "${VERSION}" | sed 's/[][\/$*.^]/\\&/g')
# Update CHANGELOG.md - replace the date on the version heading line
if [ -f "CHANGELOG.md" ]; then
diff --git a/src/templates/templateDetails.xml b/src/templates/templateDetails.xml
index b542812..519b376 100644
--- a/src/templates/templateDetails.xml
+++ b/src/templates/templateDetails.xml
@@ -35,7 +35,7 @@
moko-cassiopeia
03.05.00
- 2025-12-23
+ 2026-01-09
Jonathan Miller || Moko Consulting
hello@mokoconsulting.tech
(C)GNU General Public License Version 3 - 2025 Moko Consulting
diff --git a/updates.xml b/updates.xml
index 802974b..8eec322 100644
--- a/updates.xml
+++ b/updates.xml
@@ -30,7 +30,7 @@
site
03.05.00
- 2025-12-12
+ 2026-01-09
Jonathan Miller || Moko Consulting
hello@mokoconsulting.tech
(C)GNU General Public License Version 3 - 2025 Moko Consulting