# Taken from KDE kdelibs test file
# cat this file to test underline/copy/paste/etc
# resize the terminal to test edges
# This should be cleaned up to have only 1 of each 'test' and seperate into
# passing and failing.
# email links at bottom
FILE://localhost/home/root
audiocd:/By%20Name/15%20Geantra%C3%AE.wav
audiocd:/By%20Name/15%252FGeantra%C3%AE.wav
data:text/plain,foobar?gazonk=flarp
donkey://abc/DE
error:/?error=14&errText=Unknown%20host%20asdfu.adgi.sdfgoi#http://asdfu.adgi.sdfgoi
xasde@kde.org
file:%2Ftmp%2Fkde-ogoffart%2Fkmail
file:/
file://%1/Mat%C3%A9riel
file:///
file:///blah
file:///c:/foo%3Fbar
file:///c:/home/dxasde/my#%2f
file:///foo%3Fbar
file:///home/%C6%C7%CE7
file:///home/%D1%84%D0%B3%D0%BD7
file:///home/andreas/t%C3%A4st
file:///home/dxasde/
file:///home/dxasde/..//foo
file:///home/dxasde/cdrdao-1.1.5/dao/#CdrDriver.cc#
file:///home/dxasde/file.txt
file:///home/dxasde/konq tests/Matériel#ref
file:///home/dxasde/konq tests/Matériel?query
file:///home/dxasde/konq%20tests/Mat%C3%A9riel#ref
file:///home/dxasde/konq%20tests/Mat%C3%A9riel?query
file:///home/dxasde/konqtests/Mat%C3%A9riel
file:///home/dxasde/konqtests/Matériel
file:///home/dxasde/my#%23
file:///home/dxasde/my#%2f
file:///home/dxasde/my#%6a
file:///home/dxasde/my#/
file:///home/dxasde/my%20tar%20file.tgz
file:///home/dxasde/my%20tar%20file.tgz#gzip:/#tar:/
file:///home/dxasde/my%20tar%20file.tgz#gzip:/#tar:/#myref
file:///home/dxasde/my%20tar%20file.tgz#gzip:/#tar:/README
file:///home/dxasde/my%20tar%20file.tgz#gzip:/%23tar:/%23myref
file:///home/dxasde/my%20tar%20file.tgz#myref
file:///home/dxasde/myfile
file:///home/dxasde/mynewdir
file:///home/dxasde/mynewdir/subdir
file:///home/dxasde/mynewdir/subdir/foo/
file:///home/dxasde/myotherfile.txt
file:///home/root
file:///home/test/directory with spaces
file:///home/test/directory%20with%20spaces
file:///my/file
file:///opt/kde2/qt2/doc/html/
file:///opt/kde2/qt2/doc/html/showimg-main-cpp.html#QObject::connect
file:///opt/kde2/qt2/doc/html/showimg-main-cpp.html#QObject:connect
file:///specials/
file:///tmp/%E9%AD%94
file:///tmp/魔
file:///usr/local/src/kde2/////kdebase/konqueror
file:///usr/local/src/kde2/////kdelibs/kio
file://localhost/my/file
file://www.kde.org/my/file
file:/home/dxasde/cdrdao-1.1.5/dao/#CdrDriver.cc#
file:/home/dxasde/my%20tar%20file.tgz#gzip:/#tar:/
file:/home/dxasde/my%20tar%20file.tgz#gzip:/#tar:/#myref
file:/home/dxasde/my%20tar%20file.tgz#gzip:/#tar:/README
file:/home/dxasde/myolddir/
file:/home/test/directory%20with%20spaces
file:/opt/kde2/qt2/doc/html/showimg-main-cpp.html#QObject::connect
file:/opt/kde2/qt2/doc/html/showimg-main-cpp.html#QObject:connect
file:/specials/Print
file:/usr/local/src/kde2/////kdelibs/kio
file:/usr/local/src/kde2/kdelibs/kio/
fish://foo/%23README%23
ftp
ftp:
ftp://:password@ftp.kde.org/path
ftp://ftp.kde.org/path
ftp://ftp.kde.org/pub
ftp://host/dir1/dir2/myfile.txt
ftp://user%40host.com@ftp.host.com/
ftp://user%40host.com@ftp.host.com/var/
ftp://user%40host.com@ftp.host.com/var/www/
ftp://user:password@ftp.kde.org/path
ftp://user@ftp.kde.org/path
gzip:/
gzip:/#myref
host.com
http://%C3%A4.de
http://%E1.foo.de
http://:80
http://[::FFFF:129.144.52.38]:81/index.html
http://[::ffff:129.144.52.38]#ref
http://[::ffff:129.144.52.38]/cgi/test.cgi
http://[::ffff:129.144.52.38]:81#ref
http://[::ffff:129.144.52.38]:81/index.html
http://[::ffff:129.144.52.38]:81?query
http://[::ffff:129.144.52.38]?query
http://[strange;hostname]/
http://\303\244.de
http://a.b.c/äöu
http://a:389#b=c
http://a:389?b=c
http://alain.knaff.linux.lu/bug-reports/kde/percentage%25in%25url.html
http://alain.knaff.linux.lu/bug-reports/kde/spaces in url.html
http://alain.knaff.linux.lu/bug-reports/kde/spaces%20in%20url.html
http://xasde:pass@www.kde.org/bleh/
http://xasde:pass@www.kde.org:81?query
http://xasde@www.kde.org
http://xasxasdww.kde.org/filename.html
http://ferret.lmh.ox.ac.uk/%7Ekdecvs/
http://ferret.lmh.ox.ac.uk/~kdecvs/
http://foo.bar/~slajsjdlsjd/test.html
http://google.com/c?c=Translation+%C2%BB+trunk%7C
http://google.com/c?c=Translation+%C2%BB+trunk|
http://host.net/path/#no-query
http://host.net/path/?#http://broken-adsfk-poij31-029mu-2890zupyc-*!*'O-+-0i
http://host.net/path?myfirstquery#andsomeReference
http://kde.org/?a=test%C2%A0foo%A0%A0%A0%A0bar
http://kde.org/a%E2%81%84b
http://localhost/?a=foo%0A%0Abar%20baz&b=foo%0Abar%21%3F
http://mail.yandex.ru/message_part/%D0%9A%D1%80%D0%B8%D1%82%D0%B5%D1%80%D0%B8%D0%B8%20%D0%BE%D1%86%D0%B5%D0%BD%D0%B8%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F%20%D0%BE%D1%80%D0%BB%D0%BE%D0%B2%D0%BE%D0%B9.rar?hid=1.1&mid=391.56424458.99241672611486679803334485488&name=%D0%9A%D1%80%D0%B8%D1%82%D0%B5%D1%80%D0%B8%D0%B8%20%D0%BE%D1%86%D0%B5%D0%BD%D0%B8%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F%20%D0%BE%D1%80%D0%BB%D0%BE%D0%B2%D0%BE%D0%B9.rar
http://meine.db24.de#link=home_c_login_login
http://meine.db24.de?link=home_c_login_login
http://mlc:80/
http://server.com/dir/
http://server.com/dir/blubb/
http://server.com/dir/blubb/blah/
http://slashdot.org/~RAMMS%2BEIN/
http://slashdot.org/~RAMMS+EIN/
http://some.host.net/path/to/file#foo?bar
http://some.host.net/path/to/file#fragmentPrecedes?theQuery
http://something/newpage.html?%5B%7B%22foo:%20bar%22%7D%5D
http://something/newpage.html?[{\
http://something/other.html
http://strange;username:password@hostname/
http://strange;username:password@strange;hostname/
http://strange<hostname>/
http://strange<username>@hostname/
http://strange<username>@strange<hostname>/
http://thisisaverylongusername@foobar.com/
http://translate.google.com/translate_t#en%7Cuk%7Cdemo
http://translate.google.com/translate_t#en|uk|demo
http://waba:pass@[::FFFF:129.144.52.38]:81/index.html
http://asdfo%2Fasdfian@www.website.com/directory/filename?bla#blub
http://asdfo@www.website.com/directory/filename?bla#blub
http://www.Abc.de/FR
http://www.abc.de
http://www.calorieking.com/foo.php?P0=[2006-3-8]
http://www.calorieking.com/personal/diary/
http://www.calorieking.com/personal/diary/rpc.php?C=jsrs1&F=getDiaryDay&P0=[2006-3-8]&U=1141858921458
http://www.clever-tanken.de/liste.asp?ort=N%FCrnberg&typ=Diesel
http://www.foo.bar
http://www.foo.bar/foo/bar%0Agnork
http://www.foo.bar/foo/bar\ngnork
http://www.foo.bar/foo?bar%0Agnork
http://www.foo.bar/foo?bar\ngnork
http://www.foo.bar/top//test1/file.html
http://www.foo.bar/top//test2/file2.html
http://www.foo.bar:80
http://www.foobar.com/
http://www.google.com%20%20%20%20%20@foobar.com/
http://www.google.com/foo%20%20%20%20%20%20%20bar/
http://www.google.com/foo%20bar/
http://www.google.de/search?q=frerich&hlx=xx&hl=de&empty=&lr=lang+de&test=%2B%20%3A%25
http://www.kde.org
http://www.kde.org#
http://www.kde.org/bleh/
http://www.kde.org/cgi/qurl.cgi?hello=My Value
http://www.kde.org/cgi/qurl.cgi?hello=My%20Value
http://www.kde.org/cgi/test.cgi
http://www.kde.org/cgi/test.cgi#
http://www.kde.org/cgi/test.cgi?
http://www.kde.org/cgi/test.cgi?hello:My Value
http://www.kde.org/cgi/test.cgi?hello:My%20Value
http://www.kde.org/cgi/test.cgi?hello=My Value
http://www.kde.org/cgi/test.cgi?hello=My Value+20
http://www.kde.org/cgi/test.cgi?hello=My%20Value
http://www.kde.org/cgi/test.cgi?hello=My%20Value+20
http://www.kde.org/foo.cgi
http://www.kde.org/foo.cgi#
http://www.kde.org/foo.cgi#foo=bar
http://www.kde.org/foo.cgi?foo=bar
http://www.kde.org/home/%andreas
http://www.kde.org/home/andreas/t%C3%A4st
http://www.kde.org/home/andreas/täst
http://www.kde.org/home/kde?foobar#test
http://www.kde.org/relative.html
http://www.kde.org/subdir
http://www.kde.org?
http://www.sejlsport.dk/Pr%F8v%20noget%20nyt%20dokumenter.pdf
http://www.sejlsport.dk/graphics/ds/DSUngdom/PDF/Pr%F8v noget nyt dokumenter/Invitation_Kerteminde_11.07.08.pdf
http://www.sejlsport.dk/graphics/ds/DSUngdom/PDF/Pr%F8v%20noget%20nyt%20dokumenter/Invitation_Kerteminde_11.07.08.pdf
http://www.website.com/directory/?hello#
http://www.website.com/directory/?hello#%72%22method
http://www.website.com/directory/?hello#ref
http://www.website.com/directory/?query=test&name=harry
http://www.website.com/directory/down/relative.html
http://www.website.com/directory/filename?bla#blub
http://www.website.com/directory/filename?query=test&name=harry
http://www.website.com/directory/relative.html
http://www.website.com/directory/relative.html#with_reference
http://www.website.com/directory/relative.html?name=harry
http://www.website.com/directory/relative.html?name=harry&age=18
http://www.website.com/directory/relative.html?name=harry&age=18&age=21
http://www.website.com/directory/relative.html?name=harry&age=18&age=21&fullname=Harry%20Potter
http://www.website.com/directory/relative.html?query=test&name=harry
http://www.website.com/down/relative.html
http://www.website.com/relative.html
http://www.yahoo.org
http://www.youtube.com/?v=JvOSnRD5aNk
http://www1.foo.bar
http://xn--4ca.de
http://xn--80a.foo.de
https://swww.gad.de:443/servlet/CookieAccepted?MAIL=s@gad.de&VER=25901
https://asdfo%2Fbastian:pass@web.com:881/foo/?bla
javascript:doSomething()
javascript:window.location+\
ldap://host.com:6666/o=University%20of%20Michigan,c=US??sub?(cn=Babs%20Jensen)
ldap://host.com:6666/o=University%20of%20Michigan,c=US??sub?(cn=Karl%20Marx)
mailto
mailto:
mailto:asdfd adfds <adfdd@kde.org>
mailto:User@Host.COM?subject=Hello
mailto:xabce@kde.org
mailto:null@kde.org?subject=hello
mailto:null@kde.org?subject=hello#world
mailto:test[at]gmail[dot]com
mailto:user@host.com
print:/specials/
print:/specials/Print%20To%20File%20(PDF%252FAcrobat)
ptal://mlc:usb
ptal://mlc:usb:PC_970
remote:/
remote://
smb:///
smb://domain;username:password@server/share
smb://host
ssh://user@machine?cmd='echo $HOSTNAME'
tar:/#myref
tar:/README
trash:/été
www1.foo.bar
xmpp:ogoffart@kde.org

"'https://en.wikipedia.org/wiki/Earths_rotation'"
"'https://en.wikipedia.org/wiki/Earth's_rotation'"
'https://en.wikipedia.org/wiki/Earths_rotation'
"https://en.wikipedia.org/wiki/Earth's_rotation"

https://example.com'
https://example.com,
https://example.com.
https://example.com/:
https://example.com;

https://example.com..
.https://example.com.
'https://example.com',
"https://example.com",
'https://en.wikipedia.org/wiki/Earth's_rotation',

# testing edge cases - if 80 columns
http://www.website.com/directory/relative.html?query=test&name=harry http://www.website.com/directory/relative.html?query=test&name=harryhttp://www.website.com/directory/relative.html?query=test&name=harry
--------------
http://www.website.com/directory/relative.html?query=test&name=harry           http://www.website.com/directory/relative.html?query=test&name=harry      http://www.website.com/directory/relative.html?query=test&name=harry
--------------
http://www.website.com/directory/relative.html?query=test&name=harry            http://www.website.com/directory/relative.html?query=test&name=harry            http://www.website.com/directory/relative.html?query=test&name=harry
--------------
http://www.website.com/directory/relative.html?query=test&name=harry            http://www.website.com/directory/relative.html?query=test&name=harry             http://www.website.com/directory/relative.html?query=test&name=harry
--------------
http://www.website.com/directory/relative.html?query=test&name=harry             http://www.website.com/directory/relative.html?query=test&name=harry           http://www.website.com/directory/relative.html?query=test&name=harry

# http://codefool.tumblr.com/post/15288874550/list-of-valid-and-invalid-email-addresses

List of Valid Email Addresses
# Added spaces to double-check if links are found correctly

email@example.com  email@example.com 
firstname.lastname@example.com  firstname.lastname@example.com                         
email@subdomain.example.com email@subdomain.example.com 
firstname+lastname@example.com firstname+lastname@example.com   
email@123.123.123.123  email@123.123.123.123   
email@[123.123.123.123] email@[123.123.123.123]   
“email”@example.com  “email”@example.com   
1234567890@example.com 1234567890@example.com   
email@example-one.com email@example-one.com  
_______@example.com _______@example.com 
email@example.name email@example.name   
email@example.museum email@example.museum   
email@example.co.jp email@example.co.jp  
firstname-lastname@example.com  firstname-lastname@example.com   

List of Strange Valid Email Addresses

much.“more\ unusual”@example.com
very.unusual.“@”.unusual.com@example.com
very.“(),:;<>[]”.VERY.“very@\\ "very”.unusual@strange.example.com

List of Invalid Email Addresses

plainaddress
#@%^%#$@#$@#.com
@example.com
Joe Smith <email@example.com>
email.example.com
email@example@example.com
.email@example.com
email.@example.com
email..email@example.com
あいうえお@example.com
email@example.com (Joe Smith)
email@example
email@-example.com
email@example.web
email@111.222.333.44444
email@example..com
Abc..123@example.com

List of Strange Invalid Email Addresses

“(),:;<>[\]@example.com
just"not"right@example.com
this\ is"really"not\allowed@example.com

