MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / simple_like_match

Method simple_like_match

graphlite/src/exec/executor.rs:5507–5512  ·  view source on GitHub ↗

Simple LIKE pattern matching without regex dependency

(&self, text: &str, pattern: &str)

Source from the content-addressed store, hash-verified

5505
5506 /// Simple LIKE pattern matching without regex dependency
5507 fn simple_like_match(&self, text: &str, pattern: &str) -> bool {
5508 let text_chars: Vec<char> = text.chars().collect();
5509 let pattern_chars: Vec<char> = pattern.chars().collect();
5510
5511 self.like_match_recursive(&text_chars, 0, &pattern_chars, 0)
5512 }
5513
5514 /// Recursive helper for LIKE pattern matching
5515 fn like_match_recursive(

Callers 1

match_like_patternMethod · 0.80

Calls 1

like_match_recursiveMethod · 0.80

Tested by

no test coverage detected