mirror of
https://github.com/rfc1036/whois.git
synced 2026-01-03 06:15:17 +00:00
fix the validation regexp in make_new_gtlds.pl
This commit is contained in:
parent
ac73668757
commit
28ea3fb055
@ -9,7 +9,7 @@ while (<>) {
|
||||
s/^\s+//; s/\s+$//;
|
||||
next if /^$/;
|
||||
|
||||
die "format error: $_" if not /^((?:xn--)?[a-z0-9]+)$/;
|
||||
die "format error: $_" if not /^(xn--[a-z0-9-]+|[a-z]+)$/;
|
||||
|
||||
print qq| "$_",\n|;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user