about summary refs log blame commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-builtins-split.nix
blob: 95305040dce208466365112810d294622a0d860e (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                           
[
  (builtins.split "(a)b" "abc")
  (builtins.split "([ac])" "abc")
  (builtins.split "(a)|(c)" "abc")
  (builtins.split "([[:upper:]]+)" " FOO ")

  (builtins.split "(.*)" "abc")
  (builtins.split "([abc]*)" "abc")
  (builtins.split ".*" "")
]