Skip to content

Remove superfluous '+' in JavaScript syntax#1525

Merged
wbond merged 1 commit into
sublimehq:masterfrom
sharkdp:master
May 7, 2018
Merged

Remove superfluous '+' in JavaScript syntax#1525
wbond merged 1 commit into
sublimehq:masterfrom
sharkdp:master

Conversation

@sharkdp

@sharkdp sharkdp commented Apr 30, 2018

Copy link
Copy Markdown
Contributor

Removes a + on a negative-lookahead group that causes problems with some regex implementations.

See this short discussion with @Thom1729: #1427 (comment)

Removes a `+` on a negative-lookahead group that causes
problems with some regex implementations.
@Thom1729

Copy link
Copy Markdown
Collaborator

The + does nothing, so removing it is a Good Thing. This change should not affect Sublime's highlighting, but it will avoid a bug in syntect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants