Skip to main content

matches_substring

Function matches_substring 

Source
pub(super) fn matches_substring(pattern: &str, input: &str) -> bool
Expand description

Returns whether input starts with pattern at the beginning of the input or of any segment separated by a MATCH_SPLITTER character.