summaryrefslogtreecommitdiffstats
path: root/tests/012/ifa.tl
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-09-29 06:08:50 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-09-29 06:08:50 -0700
commit3486fd8265f5cf9b15bf8e926dbbc2f6fba2aa72 (patch)
treee2d8f3b8dcf19a1cc0187acdb78bdaec987aaa38 /tests/012/ifa.tl
parent0f68ca0217e15d7131c1e6ac6838a9649e416ed6 (diff)
downloadtxr-3486fd8265f5cf9b15bf8e926dbbc2f6fba2aa72.tar.gz
txr-3486fd8265f5cf9b15bf8e926dbbc2f6fba2aa72.tar.bz2
txr-3486fd8265f5cf9b15bf8e926dbbc2f6fba2aa72.zip
Optimize some cases of the regex branch operator.
* regex.c (reg_compl_char_p): New static function. (reg_optimize): Optimize various cases of the or operator: (R|) -> R?, (a|b) -> [ab] and others.
Diffstat (limited to 'tests/012/ifa.tl')
0 files changed, 0 insertions, 0 deletions