Skip to content

Instantly share code, notes, and snippets.

@marlonbaeten
marlonbaeten / wildcard_match.rs
Created October 30, 2025 08:33
wildcard match
/// Match a test input with a pattern
/// Only wildcard characters (*) in the pattern string have a special meaning: they match on zero or more characters
fn wildcard_match(test: &[u8], pattern: &[u8]) -> bool {
false
}
#[cfg(test)]
mod tests {
use super::wildcard_match;