This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Takes a "quoted argument string ignoring \" escaped" arguments. Returns an array of arguments | |
| let commandStringToArguments (cmd: string) = | |
| // Checks whether a quote is lead by an escape char | |
| let isUnescapedQuote (i, c) = | |
| c.Equals('"') && (i.Equals(0) || (cmd |> Seq.toArray).[i-1] <> '\\') | |
| // Get the start and end position of quoted strings | |
| let quotedStrings = | |
| cmd | |
| |> Seq.toArray |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Hello { | |
| public void thisIsId() { | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| can you edit this?? |
OlderNewer