diff options
| author | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2026-06-27 12:16:37 +0200 |
|---|---|---|
| committer | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2026-06-27 12:16:37 +0200 |
| commit | e878ce9a44029d72c88d65cd0310b92ede2c28ad (patch) | |
| tree | 1d212c3f61ef28ccdc6b0b4f633050a6467bd8c2 /regexec.c | |
| parent | bda12e168733451328e39aceb6b2625f6b28e29c (diff) | |
| download | terex-e878ce9a44029d72c88d65cd0310b92ede2c28ad.tar.gz | |
REG_RAW is a pure re_comp() flag now
I missed the possibility to query the compilation flags from the
execution variables.
Diffstat (limited to 'regexec.c')
| -rw-r--r-- | regexec.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -158,7 +158,7 @@ static struct sset *pickss(struct vars *, struct dfa *, chr *, chr *); static inline chr * nextchr(struct vars *v, chr *s) { - if (v->eflags & REG_RAW) { + if (v->g->cflags & REG_RAW) { return s+1; } @@ -180,7 +180,7 @@ nextchr(struct vars *v, chr *s) static inline chr * prevchr(struct vars *v, chr *s) { - if (v->eflags & REG_RAW) { + if (v->g->cflags & REG_RAW) { return s-1; } @@ -194,7 +194,7 @@ prevchr(struct vars *v, chr *s) static inline pchr getchr(struct vars *v, const chr *s, const chr *end) { - if (v->eflags & REG_RAW) { + if (v->g->cflags & REG_RAW) { return *s; } |
