mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[ES|QL] Attempt to fix the code scan report problem (#215278)
## Summary Closes https://github.com/elastic/kibana-team/issues/1568
This commit is contained in:
parent
9fd3771061
commit
17ecc6a9f1
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ export const useDebounceWithOptions = (
|
|||
// Quotes can be used as separators for multiple warnings unless
|
||||
// they are escaped with backslashes. This regexp will match any
|
||||
// quoted string that is not escaped.
|
||||
const quotedWarningMessageRegexp = /"[^"\\]*(?:\\.[^"\\]*)*?"/g;
|
||||
const quotedWarningMessageRegexp = /"([^"\\]|\\.)*"/g;
|
||||
|
||||
export const parseWarning = (warning: string): MonacoMessage[] => {
|
||||
if (quotedWarningMessageRegexp.test(warning)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue