Created
July 25, 2014 09:09
-
-
Save aleszoulek/fd19513980ae9910501c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'http://www.idnes.cz/?a=://' | |
> /:\/\//.test('http://www.idnes.cz/?a=://') | |
true | |
> /:\/\//.test('www.idnes.cz/?a=://') | |
true | |
> /:\/\//.test('/?a=://') | |
true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment