mirror of
https://github.com/NixOS/nix.git
synced 2024-10-30 13:50:51 +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