mirror of
https://github.com/safing/portmaster
synced 2025-09-01 18:19:12 +00:00
Improve DNS validation regex doc
This commit is contained in:
parent
15ff395d43
commit
362d98727b
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ var (
|
|||
`\.` + // ending with a dot
|
||||
`)*` + // end subdomain group, allow any number of subdomains
|
||||
`(xn--)?` + // TLD idn prefix
|
||||
`[a-z0-9_-]{1,63}` + // TLD main chunk with at least one character
|
||||
`[a-z0-9_-]{1,63}` + // TLD main chunk with at least one character (for custom ones)
|
||||
`\.` + // ending with a dot
|
||||
`$`, // match end
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue