Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
32
Task/URL-parser/J/url-parser-4.j
Normal file
32
Task/URL-parser/J/url-parser-4.j
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
taskparts 'ssh://alice@example.com'
|
||||
┌──────┬───────────┐
|
||||
│scheme│ssh │
|
||||
├──────┼───────────┤
|
||||
│user │alice │
|
||||
├──────┼───────────┤
|
||||
│host │example.com│
|
||||
└──────┴───────────┘
|
||||
taskparts 'https://bob:pass@example.com/place'
|
||||
┌──────┬───────────┐
|
||||
│scheme│https │
|
||||
├──────┼───────────┤
|
||||
│user │bob │
|
||||
├──────┼───────────┤
|
||||
│creds │pass │
|
||||
├──────┼───────────┤
|
||||
│host │example.com│
|
||||
├──────┼───────────┤
|
||||
│path │/place │
|
||||
└──────┴───────────┘
|
||||
taskparts 'http://example.com/?a=1&b=2+2&c=3&c=4&d=%65%6e%63%6F%64%65%64'
|
||||
┌──────┬───────────────────────────────────────────┐
|
||||
│scheme│http │
|
||||
├──────┼───────────────────────────────────────────┤
|
||||
│host │example.com │
|
||||
├──────┼───────────────────────────────────────────┤
|
||||
│path │/ │
|
||||
├──────┼───────────────────────────────────────────┤
|
||||
│query │┌─────────────────────────────────────────┐│
|
||||
│ ││a=1&b=2+2&c=3&c=4&d=%65%6e%63%6F%64%65%64││
|
||||
│ │└─────────────────────────────────────────┘│
|
||||
└──────┴───────────────────────────────────────────┘
|
||||
Loading…
Add table
Add a link
Reference in a new issue