From 00cc6351fd4a0cdf216eba3cc4918aa3c7aa0704 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Tue, 8 Feb 2022 21:25:51 +0100 Subject: Small fix. --- include/stc/cregex.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'include') diff --git a/include/stc/cregex.h b/include/stc/cregex.h index 38d7042c..4b9bde51 100644 --- a/include/stc/cregex.h +++ b/include/stc/cregex.h @@ -52,12 +52,13 @@ typedef enum { } cregex_error_t; enum { - /* flags */ - creg_dotall = 1<<0, /* compile */ - creg_caseless = 1<<1, /* compile+match */ - creg_fullmatch = 1<<2, /* match */ - creg_next = 1<<3, /* match */ - creg_startend = 1<<4, /* match */ + /* compile flags */ + creg_dotall = 1<<0, + creg_caseless = 1<<1, + /* execution flags */ + creg_fullmatch = 1<<2, + creg_next = 1<<3, + creg_startend = 1<<4, /* limits */ creg_max_classes = 16, creg_max_captures = 32, -- cgit v1.2.3