summaryrefslogtreecommitdiff
path: root/xs_regex.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-11-24 08:47:02 +0100
committerdefault <nobody@localhost>2022-11-24 08:47:02 +0100
commitf2528c6c521cde213e9f7ac3e263b9736d27ef37 (patch)
treef1efdf95b1b933665ed212213abdc0cc9c5f3e56 /xs_regex.h
parent1941d00650df6d6189d4d01fd4f268de7920a5a1 (diff)
Backport from xs.
Diffstat (limited to 'xs_regex.h')
-rw-r--r--xs_regex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xs_regex.h b/xs_regex.h
index e0d1b7a..302bcf0 100644
--- a/xs_regex.h
+++ b/xs_regex.h
@@ -5,9 +5,9 @@
#define _XS_REGEX_H
d_char *xs_regex_split_n(const char *str, const char *rx, int count);
-#define xs_regex_split(str, rx) xs_regex_split_n(str, rx, 0xfffffff)
+#define xs_regex_split(str, rx) xs_regex_split_n(str, rx, XS_ALL)
d_char *xs_regex_match_n(const char *str, const char *rx, int count);
-#define xs_regex_match(str, rx) xs_regex_match_n(str, rx, 0xfffffff)
+#define xs_regex_match(str, rx) xs_regex_match_n(str, rx, XS_ALL)
#ifdef XS_IMPLEMENTATION