diff --git a/dist/restore/index.js b/dist/restore/index.js
index 51eb439..c79eb6b 100644
--- a/dist/restore/index.js
+++ b/dist/restore/index.js
@@ -37662,7 +37662,7 @@ function getInputAsArray(name, options) {
     return core
         .getInput(name, options)
         .split("\n")
-        .map(s => s.replace(/^\!\s+/, "!").trim())
+        .map(s => s.replace(/^!\s+/, "!").trim())
         .filter(x => x !== "")
         .sort();
 }
diff --git a/dist/save/index.js b/dist/save/index.js
index cb05442..88ff962 100644
--- a/dist/save/index.js
+++ b/dist/save/index.js
@@ -37662,7 +37662,7 @@ function getInputAsArray(name, options) {
     return core
         .getInput(name, options)
         .split("\n")
-        .map(s => s.replace(/^\!\s+/, "!").trim())
+        .map(s => s.replace(/^!\s+/, "!").trim())
         .filter(x => x !== "")
         .sort();
 }
diff --git a/src/utils/actionUtils.ts b/src/utils/actionUtils.ts
index 2f54c3b..46c5ec1 100644
--- a/src/utils/actionUtils.ts
+++ b/src/utils/actionUtils.ts
@@ -61,7 +61,7 @@ export function getInputAsArray(
     return core
         .getInput(name, options)
         .split("\n")
-        .map(s => s.replace(/^\!\s+/, "!").trim())
+        .map(s => s.replace(/^!\s+/, "!").trim())
         .filter(x => x !== "")
         .sort();
 }