diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2016-11-22 20:30:09 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2016-11-22 20:30:09 +0200 |
commit | 52715ba9f8510f30368462fee1b1d24bf282b0aa (patch) | |
tree | 2b7569bb73d64433f84ccf2672c3973809804b51 /re.c | |
parent | f7ae9cfb843379b95d8cb44dbb8de7bbf11862de (diff) | |
parent | 033faa34a743231a88a6c555503397045726666f (diff) | |
download | egawk-52715ba9f8510f30368462fee1b1d24bf282b0aa.tar.gz egawk-52715ba9f8510f30368462fee1b1d24bf282b0aa.tar.bz2 egawk-52715ba9f8510f30368462fee1b1d24bf282b0aa.zip |
Merge branch 'master' into feature/cmake
Diffstat (limited to 're.c')
-rw-r--r-- | re.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -345,6 +345,9 @@ re_update(NODE *t) { NODE *t1; + if (t->type == Node_val && (t->flags & REGEX) != 0) + return t->typed_re->re_reg; + if ((t->re_flags & CASE) == IGNORECASE) { /* regex was compiled with settings matching IGNORECASE */ if ((t->re_flags & CONSTANT) != 0) { |