Skip to content

Require a break before matching class regex#8

Merged
cooncesean merged 1 commit intoGuidebook:masterfrom
schneidmaster:fix-class
Mar 2, 2017
Merged

Require a break before matching class regex#8
cooncesean merged 1 commit intoGuidebook:masterfrom
schneidmaster:fix-class

Conversation

@schneidmaster
Copy link
Contributor

What: Requires a break before matching the class keyword, to prevent incorrectly matching when class appears at the end of a non-keyword function or variable.

Current behavior:
screenshot 2017-03-01 20 03 36

New behavior:
screenshot 2017-03-01 20 04 04

Why: Fixes #5

Testing: Check out branch, copy syntax/CJSX.sublime-syntax to your Sublime Text packages folder, open a CJSX file in Sublime, and use the command palette to select the new syntax.

@cooncesean cooncesean merged commit 5d35221 into Guidebook:master Mar 2, 2017
@schneidmaster schneidmaster deleted the fix-class branch March 2, 2017 16:03
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.

2 participants