Commit Graph
28 Commits
Author SHA1 Message Date
zenglsandCohee fd00b5a5b8 Add support for named regex capture groups. (#4397)
* Update UpdateAndStart.bat

* regex named capture group

* Add row to replace with textarea

* Move checkbox up

* Revert toggle and syntax preferences

* Remove comment

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-08-18 21:27:36 +03:00
Yokayo 5b4198957a Work on tl 2025-06-13 00:37:21 +07:00
Cohee 78bda9954d Increase maximum injection depth and WI order (#3800) 2025-04-13 21:31:57 +03:00
Yokayo 40c3674da1 Update tl 2025-03-17 16:09:36 +07:00
Cohee b8afa96de5 Replace link to docs about regex flags 2025-03-15 23:07:58 +02:00
ReithanandCohee 01ef823da9 Dont count Continue as message 0 (#3594)
* continue works same as swipe continued message isn't depth counted

* correct early-out check

* update regex depth setting tooltips for accuracy

* update max tooltip

* remove redundant check

* Allow -1 as a min depth value

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-03-12 19:59:15 +02:00
Cohee 71a3aefe86 Replace link to regex editor docs 2025-03-10 10:40:25 +00:00
Cohee 0f8a17b652 Refactor regex info block to use a shared function 2025-03-09 23:29:00 +02:00
Cohee eef9c3ef62 Add info block for find regex flags
#3647
2025-03-09 17:41:38 +02:00
Cohee 6fc342d446 Add regex processing for reasoning blocks 2025-01-27 23:06:07 +02:00
Cohee da42d0a47a Add 3-state find substitution select
Fixes #3104
2024-11-23 19:39:02 +02:00
Yokayo 9d664bc679 Update tl 2024-11-06 01:33:24 +07:00
Cohee 9e50ff34c9 Make Run on edit actually work
Fixes #2958
2024-10-07 20:21:07 +03:00
Yokayo 7f9023d3c2 Work on tl 2024-10-01 21:25:20 +07:00
RossAscends 06efdf17d8 clarify regex editor tooltips 2024-08-10 18:12:45 +09:00
RossAscends ffb374b8f3 clarify Regex editor "only" toggles. 2024-08-10 18:07:39 +09:00
steve greenandCohee 00fc40408a allow char scpoed regex (#2271)
* Update engine.js to allow char scpoed regex

no ui because i'm not good at it, but works.

* add typedef

* update

* little fix

* Rework scoped scripts UI

* Add locale attributes

* Purge allowance on delete

* add d&d for `saved_scoped_scripts`

* better code

* Save settings on regex scope toggle

* Fix reordering logic

* Fix scoped setter

* Add unique ids for regex scripts

* Wording

* Reload chat after deleting scripts

* Reload chat after toggling scoped regex

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-05-26 17:19:00 +03:00
Cohee 3c0664dfb6 Fix naming and improve regex application 2024-05-08 20:10:52 +03:00
steve green d2477bba0c also run regex on worldinfo 2024-05-08 23:41:18 +08:00
Yokayo 29e2e8f607 Add localizable strings to two extensions & translate them 2024-05-04 02:44:15 +07: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 8c67823cb2 Add hints 2024-01-11 02:40:11 +02:00
Cohee 926f94b01d Add regex test mode 2024-01-04 04:34:38 +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
Cohee edd41989fd Initial commit 2023-07-20 20:32:15 +03:00