diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-11-24 16:18:21 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-11-24 16:18:21 -0500 |
| commit | 1e3fb8a2c0cca385d65c52679411b118b5fb4641 (patch) | |
| tree | e8e7ae5b4a8b4f39ed867c238f1a05494b6a50ac /stdlib/patterns.h | |
| parent | 0e10313d64f54dd587ebbcd5f413bd999333c911 (diff) | |
Rename "NULL" to "NONE"
Diffstat (limited to 'stdlib/patterns.h')
| -rw-r--r-- | stdlib/patterns.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/patterns.h b/stdlib/patterns.h index 2b30a3ae..641009a7 100644 --- a/stdlib/patterns.h +++ b/stdlib/patterns.h @@ -21,7 +21,7 @@ typedef struct { } Match_t; typedef Match_t OptionalMatch_t; -#define NULL_MATCH ((OptionalMatch_t){.index=NULL_INT}) +#define NONE_MATCH ((OptionalMatch_t){.index=NONE_INT}) Text_t Text$replace(Text_t str, Pattern_t pat, Text_t replacement, Pattern_t backref_pat, bool recursive); Pattern_t Pattern$escape_text(Text_t text); |
