fix the validation regexp in make_new_gtlds.pl

This commit is contained in:
Marco d'Itri 2014-10-15 22:53:05 +02:00
parent ac73668757
commit 28ea3fb055

View File

@ -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|;
}