IBM-Cloud / vscode-log-output-colorizer

Language extension for VSCode that adds syntax colorization for both the output/debug/extensions panel and *.log files.
https://marketplace.visualstudio.com/items?itemName=IBM.output-colorizer
MIT License
111 stars 28 forks source link

quotes regex is too greedy #9

Closed triceam closed 7 years ago

triceam commented 7 years ago

Regex is matching entire quotes, so for example, this is highlighted:

image

Where it really should be this:

image

triceam commented 7 years ago

Fixed - quotes regular expressions were too greedy, and should only capture the content within the first set of quotes, not everything between the outermost quotes (including other quotes)