mirror of
https://github.com/github/codeql.git
synced 2025-12-18 18:10:39 +01:00
17 lines
477 B
JavaScript
17 lines
477 B
JavaScript
raw.replace("\\", "\\"); // $ Alert
|
|
raw.replace(/(\\)/, "\\"); // $ Alert
|
|
raw.replace(/["]/, "\""); // $ Alert
|
|
raw.replace("\\", "\\\\");
|
|
|
|
raw.replace(/foo/g, 'foo'); // $ Alert
|
|
raw.replace(/foo/gi, 'foo');
|
|
|
|
raw.replace(/^\\/, "\\"); // $ Alert
|
|
raw.replace(/\\$/, "\\"); // $ Alert
|
|
raw.replace(/\b\\/, "\\"); // $ Alert
|
|
raw.replace(/\B\\/, "\\"); // $ Alert
|
|
raw.replace(/\\(?!\\)/, "\\"); // $ Alert
|
|
raw.replace(/(?<!\\)\\/, "\\"); // $ Alert
|
|
|
|
raw.replace(/^/, ""); // $ Alert
|