Skip to content

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

Closed

Description

@tambry

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

Activity

  1. mjbvz commented on Jan 3, 2017

    @mjbvz
    Contributor

    This issue was moved to microsoft/vscode-textmate#32

  2. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions