diff --git a/public/scripts/char-data.js b/public/scripts/char-data.js
index 378c19ca3..5859331f6 100644
--- a/public/scripts/char-data.js
+++ b/public/scripts/char-data.js
@@ -89,7 +89,7 @@
* @property {boolean} markdownOnly - Whether the script only applies to Markdown
* @property {boolean} promptOnly - Whether the script only applies to prompts
* @property {boolean} runOnEdit - Whether the script runs on edit
-* @property {boolean} substituteRegex - Whether the regex should be substituted
+* @property {number} substituteRegex - Whether the regex should be substituted
* @property {number} minDepth - The minimum depth
* @property {number} maxDepth - The maximum depth
*/
diff --git a/public/scripts/extensions/regex/editor.html b/public/scripts/extensions/regex/editor.html
index 6b2e760f7..9e699a622 100644
--- a/public/scripts/extensions/regex/editor.html
+++ b/public/scripts/extensions/regex/editor.html
@@ -121,12 +121,16 @@
Run On Edit
-