diff options
| author | Tyge Løvset <[email protected]> | 2023-01-31 18:55:08 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-01-31 18:55:08 +0100 |
| commit | b677a0c3950b8294ba6458e682a885351273ac08 (patch) | |
| tree | f309f7f7571fb588f0f65254d17fa09d678a8e3c /include/stc/cregex.h | |
| parent | a24ecd6bbfffc2e0b75b8ed48fcb5306d367ad3e (diff) | |
| download | STC-modified-b677a0c3950b8294ba6458e682a885351273ac08.tar.gz STC-modified-b677a0c3950b8294ba6458e682a885351273ac08.zip | |
Converted all containers but the maps and examples to signed sizes and indices.
Diffstat (limited to 'include/stc/cregex.h')
| -rw-r--r-- | include/stc/cregex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/cregex.h b/include/stc/cregex.h index 206c319d..c41fbb67 100644 --- a/include/stc/cregex.h +++ b/include/stc/cregex.h @@ -143,7 +143,7 @@ cstr cregex_replace_sv_6(const cregex* re, csview input, const char* replace, un #define cregex_replace_3(re, input, replace) cregex_replace_4(re, input, replace, ~0U) STC_INLINE cstr cregex_replace_4(const cregex* re, const char* input, const char* replace, unsigned count) { - csview sv = {input, strlen(input)}; + csview sv = {input, c_strlen(input)}; return cregex_replace_sv_4(re, sv, replace, count); } |
