unescapeExecArgument

Unescape Exec argument as described in specification.

@trusted nothrow pure
string
unescapeExecArgument
(
string arg
)

Return Value

Type: string

Unescaped string.

Examples

assert(unescapeExecArgument("simple") == "simple");
assert(unescapeExecArgument(`with\&\"escaped\"\?symbols\$`) == `with&"escaped"?symbols$`);

Meta