Open Jisu-Woniu opened 1 month ago
Is it possible to add support for PowerShell string escaping?
Example usage:
assert_eq!(Pwsh::quote_vec("foo bar"), b"'foo bar'"); assert_eq!(Pwsh::quote_vec("foo\nbar"), b"\"foo`nbar\"");
Reference:
https://learn.microsoft.com/en-us/powershell/scripting/lang-spec/chapter-02?view=powershell-7.4#2352-string-literals
Is it possible to add support for PowerShell string escaping?
Example usage: