summaryrefslogtreecommitdiff
path: root/xs_regex.h
diff options
context:
space:
mode:
authorGravatar default2022-11-24 08:47:02 +0100
committerGravatar default2022-11-24 08:47:02 +0100
commitf2528c6c521cde213e9f7ac3e263b9736d27ef37 (patch)
treef1efdf95b1b933665ed212213abdc0cc9c5f3e56 /xs_regex.h
parentRefuse to store objects that are already here. (diff)
downloadpenes-snac2-f2528c6c521cde213e9f7ac3e263b9736d27ef37.tar.gz
penes-snac2-f2528c6c521cde213e9f7ac3e263b9736d27ef37.tar.xz
penes-snac2-f2528c6c521cde213e9f7ac3e263b9736d27ef37.zip
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 @@
5#define _XS_REGEX_H 5#define _XS_REGEX_H
6 6
7d_char *xs_regex_split_n(const char *str, const char *rx, int count); 7d_char *xs_regex_split_n(const char *str, const char *rx, int count);
8#define xs_regex_split(str, rx) xs_regex_split_n(str, rx, 0xfffffff) 8#define xs_regex_split(str, rx) xs_regex_split_n(str, rx, XS_ALL)
9d_char *xs_regex_match_n(const char *str, const char *rx, int count); 9d_char *xs_regex_match_n(const char *str, const char *rx, int count);
10#define xs_regex_match(str, rx) xs_regex_match_n(str, rx, 0xfffffff) 10#define xs_regex_match(str, rx) xs_regex_match_n(str, rx, XS_ALL)
11 11
12#ifdef XS_IMPLEMENTATION 12#ifdef XS_IMPLEMENTATION
13 13