Module simple_match

Source

Traitsยง

MatchOccurrences
Return the indices of all ocurrences of a string
SimplContainsType
Test if character set (CharType) is in the string
SimpleFilterAll
Test multiple patterns and return a filtered vector of string slices by all pattern rules
SimpleFilterAny
Test multiple patterns and return a filtered vector of string slices by any of the pattern rules
SimpleMatch
Regex-free matcher methods for common use cases There are no plain and _cs-suffixed variants because the standard starts_with(pat: &str), contains(pat: &str) and ends_with(pat: &str) methods meet those needs
SimpleMatchAll
Test multiple patterns and return boolean
SimpleMatchAny
Test for any of multiple pattern rules and return boolean
SimpleMatchesMany
Test multiple patterns and return vector of booleans with the results for each item