diff options
author | jade <lix@jade.fyi> | 2024-08-22 18:35:11 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@localhost> | 2024-08-22 18:35:11 +0000 |
commit | 9896d309cbf3e4c0888760981654c1da0b5983a9 (patch) | |
tree | 66e13a5f2a799056e7b60af32ef6d20d922d768b /src/libcmd/built-path.hh | |
parent | 447212fa65a80180150b265411924cc638a2c52c (diff) |
Revert "libexpr: Replace regex engine with boost::regex"
This reverts commit 447212fa65a80180150b265411924cc638a2c52c.
Reason for revert: Regression in eval behaviour bug-compatibility.
Expected behaviour (Nix 2.18.5, macOS and Linux [libstdc++/libc++]):
```
nix-repl> builtins.match "\\.*(.*)" ".keep"
[ "keep" ]
nix-repl> builtins.match "(\\.*)(.*)" ".keep"
[ "." "keep" ]
```
Actual behaviour (boost::regex):
```
nix-repl> builtins.match "\\.*(.*)" ".keep"
[ ".keep" ]
nix-repl> builtins.match "(\\.*)(.*)" ".keep"
[
"."
"keep"
]
```
Bug: https://git.lix.systems/lix-project/lix/issues/483
Change-Id: Id462eb8586dcd54856cf095f09b3e3a216955b60
Diffstat (limited to 'src/libcmd/built-path.hh')
0 files changed, 0 insertions, 0 deletions