mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 23:02:27 +00:00
parent
6042febfce
commit
063de66909
@ -59,7 +59,7 @@ BuildEnvironment readEnvironment(const Path & path)
|
||||
R"re((?:\$?"(?:[^"\\]|\\[$`"\\\n])*"))re";
|
||||
|
||||
static std::string squotedStringRegex =
|
||||
R"re((?:\$?'(?:[^'\\]|\\[abeEfnrtv\\'"?])*'))re";
|
||||
R"re((?:\$?(?:'(?:[^'\\]|\\[abeEfnrtv\\'"?])*'|\\')+))re";
|
||||
|
||||
static std::string indexedArrayRegex =
|
||||
R"re((?:\(( *\[[0-9]+\]="(?:[^"\\]|\\.)*")*\)))re";
|
||||
|
Loading…
Reference in New Issue
Block a user