pub fn expand(a_str: &str) -> Result<Vec<String>, &'static str>
Expand description
Expand a hostlist to a vector of hostnames
ยงExamples
extern crate hostlist;
assert_eq!(hostlist::expand("foo[1-3]").unwrap(),
vec!["foo1", "foo2", "foo3"]);