Regex: fix "Alter Outgoing Prompt" applying when unchecked (#3380)

* Regex: rework ephemerality options.

* Fix ephemeral regex being executed when unwanted

* Revert to old code style
This commit is contained in:
Cohee
2025-01-29 11:39:32 +02:00
committed by GitHub
parent 9e8fd3f5a0
commit a6a7810be2
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ import { t } from '../../i18n.js';
* @property {string} replaceString - The replace string
* @property {string[]} trimStrings - The trim strings
* @property {string?} findRegex - The find regex
* @property {string?} substituteRegex - The substitute regex
* @property {number?} substituteRegex - The substitute regex
*/
/**