diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-10-10 09:45:35 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-10-10 09:45:35 -0700 |
commit | 0c09759df87cdbbd33296a086debe58e58587f7e (patch) | |
tree | 1fcf56007ee3207058291a642ae2fff039804818 /linenoise/example.c | |
parent | 2d173febd859a05708e14273397df61f75bea895 (diff) | |
download | txr-0c09759df87cdbbd33296a086debe58e58587f7e.tar.gz txr-0c09759df87cdbbd33296a086debe58e58587f7e.tar.bz2 txr-0c09759df87cdbbd33296a086debe58e58587f7e.zip |
Simplify some regex tree walking code.
* regex.c (reg_expand_nongreedy, reg_compile_csets):
Generalize the compound_s case slightly by referring
to sym rather than hard-coded compound_s. Then handle
most of the regex operators under this same case.
Their semantics are not relevant to the expansions
being performed in these functions: all their arguments
are regexes to be recursed over.
Diffstat (limited to 'linenoise/example.c')
0 files changed, 0 insertions, 0 deletions