diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-06-27 20:35:41 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-06-27 20:35:41 -0700 |
commit | 76ab4a2923919f837817e63f86dca9cd6d4ed82c (patch) | |
tree | b9728b0b78d54737cf535ec35f6809f686c5f30f /stdlib/doc-syms.tl | |
parent | 5d2ef0c1daf3d44db1acea0d201712a7b45875ea (diff) | |
download | txr-76ab4a2923919f837817e63f86dca9cd6d4ed82c.tar.gz txr-76ab4a2923919f837817e63f86dca9cd6d4ed82c.tar.bz2 txr-76ab4a2923919f837817e63f86dca9cd6d4ed82c.zip |
regex: exposing optimization pass a regex-optimize
* regex.c (regex_optimize): New static function, capturing the
three optimization passes.
(regex_compile): Code moved into regex_optimize.
(regex_init): Remove sys:reg-optimize function. Register
regex-optimize.
* txr.1: Documented.
* stdlib/doc-syms.tl: Updated.
Diffstat (limited to 'stdlib/doc-syms.tl')
-rw-r--r-- | stdlib/doc-syms.tl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stdlib/doc-syms.tl b/stdlib/doc-syms.tl index 5bf473ee..cce921a1 100644 --- a/stdlib/doc-syms.tl +++ b/stdlib/doc-syms.tl @@ -1497,6 +1497,7 @@ ("refset" "N-01A419FB") ("regex-compile" "N-0168C611") ("regex-from-trie" "N-00E48912") + ("regex-optimize" "N-008430D8") ("regex-parse" "N-01C9C361") ("regex-prefix-match" "N-02CE60DF") ("regex-source" "N-0218BD2B") |