Function escape
fn escape(s: &str) -> String
Escape meta-characters within the given glob pattern.
The escaping works by surrounding meta-characters with brackets. For
example, * becomes [*].
Example
use escape;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;