Source code

Revision control

Copy as Markdown

Other Tools

</> against <file://h/C:/a/b>
<file:\\\\//>
<file:\\\\\\\\>
<file:\\\\\\\\?fox>
<file:\\\\\\\\#guppy>
<file:\\\\localhost//>
</////mouse> against <file:///elephant>
<\\/localhost//pig> against <file://lion/>
<//localhost//pig> against <file://lion/>
</..//localhost//pig> against <file://lion/>
<C|> against <file://host/dir/file>
<C|#> against <file://host/dir/file>
<C|?> against <file://host/dir/file>
<C|/> against <file://host/dir/file>
<C|\n/> against <file://host/dir/file>
<C|\\> against <file://host/dir/file>
</c:/foo/bar> against <file://host/path>
<C|/> against <file://host/>
</C:/> against <file://host/>
<file:C:/> against <file://host/>
<file:/C:/> against <file://host/>
<////one/two> against <file:///>
<file:///.//> against <file:////>
<file:.//p>
<file:/.//p>
<http://example.net/path> set hostname to <example.com:8080>
<http://example.net:8080/path> set hostname to <example.com:>
<non-spec:/.//p> set hostname to <h>
<non-spec:/.//p> set hostname to <>
<foo://somehost/some/path> set pathname to <>
<foo:///some/path> set pathname to <>
<http://example.net:8080/path> set port to <randomstring>
<file://monkey/> set pathname to <\\\\>
<file:///unicorn> set pathname to <//\\/>
<file:///unicorn> set pathname to <//monkey/..//>
<non-spec:/> set pathname to </.//p>
<non-spec:/> set pathname to </..//p>
<non-spec:/> set pathname to <//p>
<non-spec:/.//> set pathname to <p>