Module | Dotenv::Substitutions::Command |
In: |
lib/dotenv/substitutions/command.rb
|
INTERPOLATED_SHELL_COMMAND | = | / (?<backslash>\\)? \$ (?<cmd> # collect command content for eval \( # require opening paren ([^()]|\g<cmd>)+ # allow any number of non-parens, or balanced parens (by nesting the <cmd> expression recursively) \) # require closing paren ) /x |