# allows valid handles
A.ISI.EDU
XX.LCS.MIT.EDU
SRI-NIC.ARPA
john.test
jan.test
a234567890123456789.test
john2.test
john-john.test
john.bsky.app
jo.hn
a.co
a.org
joh.n
j0.h0
jaymome-johnber123456.test
jay.mome-johnber123456.test
john.test.bsky.app

# max over all handle: 'shoooort' + '.loooooooooooooooooooooooooong'.repeat(8) + '.test'
shoooort.loooooooooooooooooooooooooong.loooooooooooooooooooooooooong.loooooooooooooooooooooooooong.loooooooooooooooooooooooooong.loooooooooooooooooooooooooong.loooooooooooooooooooooooooong.loooooooooooooooooooooooooong.loooooooooooooooooooooooooong.test

# max segment: 'short.' + 'o'.repeat(63) + '.test'
short.ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo.test

# NOTE: this probably isn't ever going to be a real domain, but my read of the RFC is that it would be possible
john.t

# allows .local and .arpa handles (proto-level)
laptop.local
laptop.arpa

# allows punycode handles
# 💩.test
xn--ls8h.test
# bücher.tld
xn--bcher-kva.tld
xn--3jk.com
xn--w3d.com
xn--vqb.com
xn--ppd.com
xn--cs9a.com
xn--8r9a.com
xn--cfd.com
xn--5jk.com
xn--2lb.com

# allows onion (Tor) handles
expyuzz4wqqyqhjn.onion
friend.expyuzz4wqqyqhjn.onion
g2zyxa5ihm7nsggfxnu52rck2vv4rvmdlkiu3zzui5du4xyclen53wid.onion
friend.g2zyxa5ihm7nsggfxnu52rck2vv4rvmdlkiu3zzui5du4xyclen53wid.onion
friend.g2zyxa5ihm7nsggfxnu52rck2vv4rvmdlkiu3zzui5du4xyclen53wid.onion
2gzyxa5ihm7nsggfxnu52rck2vv4rvmdlkiu3zzui5du4xyclen53wid.onion
friend.2gzyxa5ihm7nsggfxnu52rck2vv4rvmdlkiu3zzui5du4xyclen53wid.onion

# correctly validates corner cases (modern vs. old RFCs)
12345.test
8.cn
4chan.org
4chan.o-g
blah.4chan.org
thing.a01
120.0.0.1.com
0john.test
9sta--ck.com
99stack.com
0ohn.test
john.t--t
thing.0aa.thing

# examples from stackoverflow   
stack.com
sta-ck.com
sta---ck.com
sta--ck9.com
stack99.com
sta99ck.com
google.com.uk
google.co.in
google.com
maselkowski.pl
m.maselkowski.pl
xn--masekowski-d0b.pl
xn--fiqa61au8b7zsevnm8ak20mc4a87e.xn--fiqs8s
xn--stackoverflow.com
stackoverflow.xn--com
stackoverflow.co.uk
xn--masekowski-d0b.pl
xn--fiqa61au8b7zsevnm8ak20mc4a87e.xn--fiqs8s
