diff options
author | default <nobody@localhost> | 2022-11-24 08:47:02 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2022-11-24 08:47:02 +0100 |
commit | f2528c6c521cde213e9f7ac3e263b9736d27ef37 (patch) | |
tree | f1efdf95b1b933665ed212213abdc0cc9c5f3e56 /xs_regex.h | |
parent | 1941d00650df6d6189d4d01fd4f268de7920a5a1 (diff) |
Backport from xs.
Diffstat (limited to 'xs_regex.h')
-rw-r--r-- | xs_regex.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |