[PR #18654] Replace New Tab Menu Match Profiles functionality with regex support #31586

Closed
opened 2026-01-31 09:48:12 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/18654

State: closed
Merged: Yes


Summary of the Pull Request

Updates the New Tab Menu's Match Profiles entry to support regex instead of doing a direct match. Also adds validation to ensure the regex is valid. Updated the UI to help make it more clear that this supports regexes and even added a link to some helpful docs.

Validation Steps Performed

Invalid regex displays a warning
Valid regex works nicely
profile matcher with source=Windows.Terminal.VisualStudio still works as expected

PR Checklist

Closes #18553

**Original Pull Request:** https://github.com/microsoft/terminal/pull/18654 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request Updates the New Tab Menu's Match Profiles entry to support regex instead of doing a direct match. Also adds validation to ensure the regex is valid. Updated the UI to help make it more clear that this supports regexes and even added a link to some helpful docs. ## Validation Steps Performed ✅ Invalid regex displays a warning ✅ Valid regex works nicely ✅ profile matcher with source=`Windows.Terminal.VisualStudio` still works as expected ## PR Checklist Closes #18553
claunia added the pull-request label 2026-01-31 09:48:12 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#31586