We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fd3771 commit 17ecc6aCopy full SHA for 17ecc6a
src/platform/packages/private/kbn-esql-editor/src/helpers.ts
@@ -66,7 +66,7 @@ export const useDebounceWithOptions = (
66
// Quotes can be used as separators for multiple warnings unless
67
// they are escaped with backslashes. This regexp will match any
68
// quoted string that is not escaped.
69
-const quotedWarningMessageRegexp = /"[^"\\]*(?:\\.[^"\\]*)*?"/g;
+const quotedWarningMessageRegexp = /"([^"\\]|\\.)*"/g;
70
71
export const parseWarning = (warning: string): MonacoMessage[] => {
72
if (quotedWarningMessageRegexp.test(warning)) {
0 commit comments