pub fn build_matcher( pattern: &str, literal: bool, case_insensitive: bool, multiline: bool, ) -> Result<Matcher>
Build the right matcher for the given search parameters.