Skip to content

Update SMB path regex to make TLD optional#11

Merged
m-birke merged 1 commit intom-birke:mainfrom
golyalpha:patch-1
Apr 10, 2026
Merged

Update SMB path regex to make TLD optional#11
m-birke merged 1 commit intom-birke:mainfrom
golyalpha:patch-1

Conversation

@golyalpha
Copy link
Copy Markdown
Contributor

Just making the change proposed in the issue I just opened.

Also did some testing of the regex in regex101 to try and make sure it still works as expected + allows hostnames without a TLD:
image

fixes: #10

@m-birke m-birke merged commit 54224d2 into m-birke:main Apr 10, 2026
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.

Regex enforces FQDN be used

2 participants