Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the regex to prevent errors on dashboard #174

Merged
merged 2 commits into from
Nov 9, 2023

Conversation

tgolen
Copy link
Contributor

@tgolen tgolen commented Nov 9, 2023

I noticed this error today, I have no idea why it all of a sudden started to show up. I updated the regex to make the issue/pull stuff optional, switched to using named capture groups, and protected against null matches.

image

I tested it to ensure all three URL types are passing the regex now:
image

https://regex101.com/r/369Aua/3

@tgolen tgolen requested a review from MariaHCD November 9, 2023 15:40
@tgolen tgolen self-assigned this Nov 9, 2023
@MariaHCD MariaHCD merged commit 5917b70 into main Nov 9, 2023
4 checks passed
@MariaHCD MariaHCD deleted the tgolen-non-owner-color branch November 9, 2023 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants