[GH-ISSUE #4446] [Issue]: Allow regexes to target specific prompts or presets #2415

Closed
opened 2026-10-21 05:48:02 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Aug 2, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4446

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Add a way to apply and toggle regexes for specific prompts or presets. This would let users enable or disable related regexes together when changing presets. Furthermore, update the UI for the Specific Characters toggle in Regexes, the character choice there uses an outdated UI format that has the top and left borders of the fields cut off.

Expected behavior

Users can associate regexes with specific prompts so only the relevant regexes are applied. Add another toggle (format character choice to use the new UI and make it so this picker also uses udpated UI).

Actual behavior

Regexes can currently be applied to specific characters, but they cannot be associated with specific prompts or presets. Regex sorting folders are also unavailable.

Steps to reproduce

  1. Open the regex configuration in Marinara Engine v2.4.0.
  2. Attempt to associate one or more regexes with a specific prompt or preset.
  3. Observe that only character-specific application is supported.

Environment

  • Marinara Engine version: 2.4.0
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

Not provided in the Discord context.

Additional context

The original request proposed sorting folders to toggle groups of regexes and optionally link those folders to presets. The maintainer indicated that folders are not planned, but an option to apply regexes to specific prompts could be added. The existing character-specific regex UI also needs an update.

Discord thread: [FR] Folder for Regexes
Discord thread link: https://discord.com/channels/1417099416812392641/1533356817105682552
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (3 messages)
[2026-08-02T06:12:33.590Z] wiishywaashii: V2.4.0
Hiii~! Just wondering if we could get sorting folders for regexes for different presets like we do for characters, please :]
So I can turn on or off a bunch at once depending on what preset I'm using
[Discord message: https://discord.com/channels/1417099416812392641/1533356817105682552/1533356817105682552]

[2026-08-02T06:32:05.881Z] wiishywaashii: Ohhh and if we could link the folders to the presets themselves maybe?
[Discord message: https://discord.com/channels/1417099416812392641/1533356817105682552/1533361734050517162]

[2026-08-02T06:39:52.035Z] Marinara: We already have an option to apply regex to specific characters (need to update the UI, by the way), but I can add an option to toggle to apply them to specific prompts. No folders.
[Discord message: https://discord.com/channels/1417099416812392641/1533356817105682552/1533363689242099762]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Aug 2, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4446 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Add a way to apply and toggle regexes for specific prompts or presets. This would let users enable or disable related regexes together when changing presets. Furthermore, update the UI for the Specific Characters toggle in Regexes, the character choice there uses an outdated UI format that has the top and left borders of the fields cut off. ## Expected behavior Users can associate regexes with specific prompts so only the relevant regexes are applied. Add another toggle (format character choice to use the new UI and make it so this picker also uses udpated UI). ## Actual behavior Regexes can currently be applied to specific characters, but they cannot be associated with specific prompts or presets. Regex sorting folders are also unavailable. ## Steps to reproduce 1. Open the regex configuration in Marinara Engine v2.4.0. 2. Attempt to associate one or more regexes with a specific prompt or preset. 3. Observe that only character-specific application is supported. ## Environment - Marinara Engine version: 2.4.0 - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video Not provided in the Discord context. ## Additional context The original request proposed sorting folders to toggle groups of regexes and optionally link those folders to presets. The maintainer indicated that folders are not planned, but an option to apply regexes to specific prompts could be added. The existing character-specific regex UI also needs an update. Discord thread: [FR] Folder for Regexes Discord thread link: https://discord.com/channels/1417099416812392641/1533356817105682552 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (3 messages)</summary> ```text [2026-08-02T06:12:33.590Z] wiishywaashii: V2.4.0 Hiii~! Just wondering if we could get sorting folders for regexes for different presets like we do for characters, please :] So I can turn on or off a bunch at once depending on what preset I'm using [Discord message: https://discord.com/channels/1417099416812392641/1533356817105682552/1533356817105682552] [2026-08-02T06:32:05.881Z] wiishywaashii: Ohhh and if we could link the folders to the presets themselves maybe? [Discord message: https://discord.com/channels/1417099416812392641/1533356817105682552/1533361734050517162] [2026-08-02T06:39:52.035Z] Marinara: We already have an option to apply regex to specific characters (need to update the UI, by the way), but I can add an option to toggle to apply them to specific prompts. No folders. [Discord message: https://discord.com/channels/1417099416812392641/1533356817105682552/1533363689242099762] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:48:02 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Aug 2, 2026):

Claimed for the v2.4.1 staging issue sweep in draft PR #4447. I’ll keep the scope to prompt/preset targeting plus the existing character-picker UI refresh; no regex folders.

<!-- gh-comment-id:5156070902 --> @SpicyMarinara commented on GitHub (Aug 2, 2026): Claimed for the v2.4.1 staging issue sweep in draft PR #4447. I’ll keep the scope to prompt/preset targeting plus the existing character-picker UI refresh; no regex folders.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#2415
No description provided.