2b991bc260
`Result::expect()` was added in Rust 1.4. Using it tidies up the code, and also helps by printing error details, eg, printing syntax error details if a regex fails to compile. It adds a colon followed by the `Debug` output from any error, making the periods in messages unnecessary.