wildcard matcher

This commit is contained in:
Nikita Smith authored and Ryan Fleury committed 2026-04-22 09:30:45 -07:00
1 parent ffc6905b06
commit 4786dc419a
3 files changed
+143

No files matched your search

+1
View File
@@ -197,6 +197,7 @@ internal String8 backslashed_from_str8(Arena *arena, String8 string);
#define str8_match_lit(a_lit, b, flags) str8_match(str8_lit(a_lit), (b), (flags))
#define str8_match_cstr(a_cstr, b, flags) str8_match(str8_cstring(a_cstr), (b), (flags))
internal B32 str8_match(String8 a, String8 b, StringMatchFlags flags);
internal B32 str8_match_wildcard(String8 string, String8 pattern, StringMatchFlags flags);
internal U64 str8_find_needle(String8 string, U64 start_pos, String8 needle, StringMatchFlags flags);
internal U64 str8_find_needle_reverse(String8 string, U64 start_pos, String8 needle, StringMatchFlags flags);
internal B32 str8_is_before(String8 a, String8 b);