diff options
author | Griffin Smith <root@gws.fyi> | 2022-10-12T22·45-0400 |
---|---|---|
committer | grfn <grfn@gws.fyi> | 2022-10-15T20·35+0000 |
commit | 03a3189a3d8e3e9d198ccf73bc0a836aaa6b6e3d (patch) | |
tree | 84068017f612e150ed8a5334e687e7872e253902 /tvix/eval/src/tests/tvix_tests/eval-okay-with-in-list.exp | |
parent | 5eb89be68246f1e5a8cd28e48d5cec75921ca97a (diff) |
feat(tvix/eval): Initial impl of builtins.match r/5136
Implement an *initial* version of builtins.match, using the rust `regex` crate for regular expressions. The rust regex crate definitely has different semantics than nix's regular expressions - but we'd like to see how far we can get before the incompatibility starts to matter. This consciously leaves out any sort of memo for compiled regular expressions (which upstream nix also has) for the sake of expediency - in the future we should implement that so we don't have to compile the same regular expression multiple times. Change-Id: I5b718635831ec83397940e417a9047c4342b6fa1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6989 Tested-by: BuildkiteCI Reviewed-by: Adam Joseph <adam@westernsemico.com> Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/eval/src/tests/tvix_tests/eval-okay-with-in-list.exp')
0 files changed, 0 insertions, 0 deletions