Simple LIKE pattern matching without regex dependency
(&self, text: &str, pattern: &str)
| 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( |
no test coverage detected