MCPcopy Create free account
hub / github.com/REditorSupport/vscode-R / ensureUnquoted

Function ensureUnquoted

src/cppProperties.ts:132–137  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

130}
131
132function ensureUnquoted(str: string): string {
133 if (/(^".*"$)|(^'.*'$)/.test(str)) {
134 return str.substring(1, str.length - 1);
135 }
136 return str;
137}
138
139function extractCompilerInfo(compileOutput: string) {
140 const rxCompArg = /-(I|D)("[^"]+"|[\S]+)/gm;

Callers 1

extractCompilerInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected