Currently doesn't support the overlay method for regex scripts. That
will have to be added in a future commit.
People can refer to capture groups using $1, $2, etc. {{match}} gets
aliased to $1.
Signed-off-by: kingbri <bdashore3@proton.me>
Added a checkbox to each Regex Script listed under Saved Scripts to easily enable/disable. It can be cumbersome having to load Regex Editor for each script when disabling/enabling multiple Regex Scripts.
- Don't save if the name is empty or undefined
- Warn if the find regex isn't found
- Warn if the "Affects" checkbox isn't selected
This allows for edits to be preserved even if a user incorrectly
changes something with the regex script itself.
Signed-off-by: kingbri <bdashore3@proton.me>