From 06d3ec138003e412d8a2adde71969f01a25fe96a Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 9 Nov 2024 16:55:44 -0500 Subject: Bugfix for fixed-size integer ranges --- stdlib/patterns.h | 1 + 1 file changed, 1 insertion(+) (limited to 'stdlib/patterns.h') diff --git a/stdlib/patterns.h b/stdlib/patterns.h index bf8dee6b..2b30a3ae 100644 --- a/stdlib/patterns.h +++ b/stdlib/patterns.h @@ -33,6 +33,7 @@ Array_t Text$find_all(Text_t text, Pattern_t pattern); PUREFUNC bool Text$has(Text_t text, Pattern_t pattern); OptionalArray_t Text$matches(Text_t text, Pattern_t pattern); Text_t Text$map(Text_t text, Pattern_t pattern, Closure_t fn); +void Text$each(Text_t text, Pattern_t pattern, Closure_t fn); #define Pattern$hash Text$hash #define Pattern$compare Text$compare -- cgit v1.2.3