Cohee
df97f5364b
Regex import/export
2024-02-10 21:57:22 +02:00
Cohee
b7921f1edd
#1630 Fix regex depth application
2024-02-04 21:34:17 +02:00
Cohee
3f3529ef89
#1630 Add min/max depth for prompt/display regex scripts.
2024-01-24 22:48:58 +02:00
Cohee
b4e7ee05e6
Remove regex replace strategy selector
2024-01-24 16:10:50 +02:00
Cohee
a126bd3422
Specify that overlay doesn't work
2024-01-11 02:42:08 +02:00
Cohee
8a7519c6e7
Replace match with $0
2024-01-11 02:41:00 +02:00
Cohee
8c67823cb2
Add hints
2024-01-11 02:40:11 +02:00
kingbri
97cca9467b
Regex: Switch filterString to foreach
...
Foreach is more performat than for const. That was used for debugging.
Signed-off-by: kingbri <bdashore3@proton.me>
2024-01-06 00:33:52 -05:00
kingbri
a0a69e357d
Regex: Update to capture group logic
...
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>
2024-01-06 00:30:25 -05:00
Cohee
926f94b01d
Add regex test mode
2024-01-04 04:34:38 +02:00
Cohee
18b11825b3
#1629 Use string replace instead of while loop
2024-01-03 19:53:24 +02:00
Cohee
04d3dcf39f
Respect match index in regex scripts replacement
2024-01-03 12:28:56 +02:00
Cohee
64a3564892
lint: Comma dangle
2023-12-02 22:06:57 +02:00
Cohee
c63cd87cc0
lint: Require semicolons
2023-12-02 21:11:06 +02:00
valadaptive
a37f874e38
Require single quotes
2023-12-02 13:04:51 -05:00
valadaptive
1c121f1ba5
Enable use-isnan lint
2023-12-02 10:32:07 -05:00
Cohee
b6ed67b4b4
Add /regex command
2023-11-30 22:59:04 +02:00
Cohee
5c356ab177
Add confirmation to regex deletion
2023-11-05 23:44:28 +02:00
Cohee
4af6955588
Restyle regex script toggles
2023-11-05 23:40:43 +02:00
Cohee
5e88edf22d
Merge pull request #1288 from LammyShark/staging
...
Toggle Regex Script Checkboxes
2023-11-05 23:18:23 +02:00
Aisu Wata
4ec40d575e
Regex Scritpt: Only Format Display: fixed typo on subtitle
2023-11-03 18:55:27 -03:00
Aisu Wata
c94962aa3c
Regex script: promptOnly checkbox and feature
2023-11-02 19:52:33 -03:00
LammyShark
234baf6276
Toggle Regex Script Checkboxes
...
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.
2023-10-25 22:48:19 -04:00
RossAscends
124658a006
Add Border Color Control
2023-09-16 15:42:26 +09:00
Cohee
c4d8d70103
Improve phone usability of sortable drags
2023-08-18 13:41:46 +03:00
kingbri
0e45aa7e58
Regex: Fix saving logic
...
- 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>
2023-07-24 23:21:54 -04:00
Cohee
edd41989fd
Initial commit
2023-07-20 20:32:15 +03:00