Skip to content
Giuseppe Cannella edited this page Jan 6, 2019 · 7 revisions
Type name example
URL
http://www.aaa.com
ftp://www.aaa.com
xyz://aaa.com
a://b
import com.github.gekomad.regexcollection.URL
assert(isValid[URL]("http://www.aaa.com") == true)
Type name example
URL1 http and https urls ignorecase
http://www.aaa.com
Https://www.aaa.com
https://www.google.com:8080/url?
HTTP://www.example.com/wpstyle/?p=364
http://foo.com/blah_(wikipedia)#cite-1
http://1337.net
import com.github.gekomad.regexcollection.URL1
assert(isValid[URL1]("http://www.aaa.com") == true)
Type name example
URL2 http urls ignorecase
http://www.aaa.com
HTTP://www.example.com/wpstyle/?p=364
http://foo.com/blah_(wikipedia)#cite-1
http://1337.net
import com.github.gekomad.regexcollection.URL2
assert(isValid[URL2]("http://www.aaa.com") == true)
Type name example
URL3 https urls ignorecase
http://www.aaa.com
HTTPS://www.aaa.com
https://www.google.com:8080/url?
import com.github.gekomad.regexcollection.URL3
assert(isValid[URL3]("https://www.aaa.com") == true)
Type name example
FTP ftp and ftps urls ignorecase
ftp://aaa.com
FTP://aaa.com
FTPS://aaa.com
ftps://google.com:8080/url?
import com.github.gekomad.regexcollection.FTP
assert(isValid[FTP]("ftp://aaa.com") == true)
Type name example
FTP1 ftp urls ignorecase
ftp://aaa.com
FTP://aaa.com
import com.github.gekomad.regexcollection.FTP1
assert(isValid[FTP1]("ftp://aaa.com") == true)
Type name example
FTP2 ftp urls ignorecase
ftps://aaa.com
FTPS://aaa.com
import com.github.gekomad.regexcollection.FTP2
assert(isValid[FTP2]("ftps://aaa.com") == true)
Clone this wiki locally