ref: 008887ccd998a43db6980fa57f1e210ec26c4acf
parent: 8497641e91c1ef7f01222e960c9ac6c60c330424
author: Ori Bernstein <[email protected]>
date: Sat Dec 13 17:38:44 EST 2014
Don't leave bangs in dial strings when parsing.
--- a/libstd/dial.myr
+++ b/libstd/dial.myr
@@ -134,7 +134,7 @@
const nameseg = {str
match strfind(str, "!")
| `Some idx:
- -> (str[:idx], str[idx:])
+ -> (str[:idx], str[idx+1:])
| `None:
-> (str, "")
;;