diff options
| author | 2022-11-24 08:47:02 +0100 | |
|---|---|---|
| committer | 2022-11-24 08:47:02 +0100 | |
| commit | f2528c6c521cde213e9f7ac3e263b9736d27ef37 (patch) | |
| tree | f1efdf95b1b933665ed212213abdc0cc9c5f3e56 /xs_regex.h | |
| parent | Refuse to store objects that are already here. (diff) | |
| download | penes-snac2-f2528c6c521cde213e9f7ac3e263b9736d27ef37.tar.gz penes-snac2-f2528c6c521cde213e9f7ac3e263b9736d27ef37.tar.xz penes-snac2-f2528c6c521cde213e9f7ac3e263b9736d27ef37.zip | |
Backport from xs.
Diffstat (limited to '')
| -rw-r--r-- | xs_regex.h | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -5,9 +5,9 @@ | |||
| 5 | #define _XS_REGEX_H | 5 | #define _XS_REGEX_H |
| 6 | 6 | ||
| 7 | d_char *xs_regex_split_n(const char *str, const char *rx, int count); | 7 | d_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) |
| 9 | d_char *xs_regex_match_n(const char *str, const char *rx, int count); | 9 | d_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 | ||