equal
deleted
inserted
replaced
65 Scan.this_string "file:///" |-- scan_path_root >> File || |
65 Scan.this_string "file:///" |-- scan_path_root >> File || |
66 Scan.this_string "file://localhost/" |-- scan_path_root >> File || |
66 Scan.this_string "file://localhost/" |-- scan_path_root >> File || |
67 Scan.this_string "file://" |-- scan_host1 -- scan_path >> RemoteFile || |
67 Scan.this_string "file://" |-- scan_host1 -- scan_path >> RemoteFile || |
68 Scan.this_string "http://" |-- scan_host1 -- scan_path >> Http || |
68 Scan.this_string "http://" |-- scan_host1 -- scan_path >> Http || |
69 Scan.this_string "ftp://" |-- scan_host1 -- scan_path >> Ftp || |
69 Scan.this_string "ftp://" |-- scan_host1 -- scan_path >> Ftp || |
70 Scan.this_string "file://" |-- scan_host1 -- scan_path >> Ftp (* or other proto *) || |
70 Scan.this_string "file://" |-- scan_host1 -- scan_path >> Ftp (* or other proto *) |
71 (* NB: this next one is not in RFC 1738, but produced by some Haskell libraries *) |
|
72 Scan.this_string "file:" |-- scan_path >> File |
|
73 |
71 |
74 in |
72 in |
75 |
73 |
76 fun unpack s = Symbol.scanner "Malformed URL" scan_url (Symbol.explode s); |
74 fun unpack s = Symbol.scanner "Malformed URL" scan_url (Symbol.explode s); |
77 |
75 |