diff th_regex.c @ 669:7493d4c9ff77

Add some regex flags, features to be implemented "some day".
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 28 Jan 2020 20:10:16 +0200
parents 039aa00cbfbf
children dee28d507da7
line wrap: on
line diff
--- a/th_regex.c	Mon Jan 27 19:23:06 2020 +0200
+++ b/th_regex.c	Tue Jan 28 20:10:16 2020 +0200
@@ -1141,6 +1141,7 @@
                 if (match == NULL)
                     return THERR_MALLOC;
 
+                match->type  = TH_RE_MATCH_EXPR;
                 match->start = soffs;
                 match->len   = coffs - soffs;