Skip to content

TextMate grammar regexes able to only match a single line #32

Closed
@mjbvz

Description

@mjbvz

From @tambry on December 31, 2016 16:20

Image of improper multiline syntax highlighting

Everything between the parentheses should be coloured green, but the matching stops after the first line ends.

  • VSCode Version: 1.8.1
  • OS Version: Ubuntu 16.10 64-bit (4.8.0-30-generic)

Steps to Reproduce:

  1. Clone this minimal repro sample.
  2. Open the folder of the sample in VS Code.
  3. Press F5 to run the extension in a new VS Code instance.
  4. In the new instance open the test.matchbug file that's in the repro sample's root directory.
  5. Code is improperly highlighted.

How the regex should match

Copied from original issue: microsoft/vscode#17964

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions