Skip to content

R highlighting incorrect due to bad regex #194355

@MichaelChirico

Description

@MichaelChirico

Filing as another issue identified / fixed with #194352.

The existing regexes escape '.' inconsistently, e.g. we see as\\.table.default. The latter '.' will match anything, so we can get weird highlighting:

Example showing mistaken highlighting of as.tableXdefault

Metadata

Metadata

Assignees

Labels

grammarSyntax highlighting grammarupstream-issue-linkedThis is an upstream issue that has been reported upstream

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions