diff options
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 2222dc45..6c817f1c 100644 --- a/include/stc/cregex.h +++ b/include/stc/cregex.h @@ -77,7 +77,7 @@ typedef struct { csview match[cre_MAXCAPTURES]; } cregex_iter; -#define c_foreach_match(it, Re, Input) \ +#define c_formatch(it, Re, Input) \ for (cregex_iter it = {Re, Input}; \ cregex_find(it.re, it.input, it.match, cre_m_next) == cre_success;) |
