Function is_matching_backtracking

Source
pub fn is_matching_backtracking(
    topic: MStr<Topic>,
    pattern: MStr<Pattern>,
) -> bool
Expand description

Match a topic and a string pattern using iterative backtracking algorithm pattern can contains - ‘*’ - match 0 or more characters after this ‘?’ - match any character once ‘a-z’ - match the specific character