aboutsummaryrefslogtreecommitdiff
path: root/regc_lex.c
diff options
context:
space:
mode:
authorRobin Haberkorn <rhaberkorn@fmsbw.de>2026-06-27 17:07:31 +0200
committerRobin Haberkorn <rhaberkorn@fmsbw.de>2026-06-27 17:11:39 +0200
commit413bad8c8848bc2e31ac0034c58130ac67f3b1f8 (patch)
treeabf99972f5c8023e43377dcf07d72f330828afcf /regc_lex.c
parentfaa449f2c2353aad5ebd61f27181fdc576a6ab78 (diff)
downloadterex-413bad8c8848bc2e31ac0034c58130ac67f3b1f8.tar.gz
implemented REG_ANCHORED execution flag
* So you can anchor executions of already compiled patterns. In principle REG_BOSONLY could also be handled by the same code. * Required by SciTECO. * Test suite has been fixed and extended. The test program now takes getopt() style short arguments to specify flags.
Diffstat (limited to 'regc_lex.c')
-rw-r--r--regc_lex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/regc_lex.c b/regc_lex.c
index f7b4c95..6186e10 100644
--- a/regc_lex.c
+++ b/regc_lex.c
@@ -322,6 +322,7 @@ next(
/*
* REG_BOSONLY
+ * FIXME: Let this be handled by REG_ANCHORED during execution as well?
*/
if (v->nexttype == EMPTY && (v->cflags&REG_BOSONLY)) {