gix_glob

Function parse

Source
pub fn parse(text: impl AsRef<[u8]>) -> Option<Pattern>
Expand description

Create a Pattern by parsing text or return None if text is empty.

Note that