This repository was archived by the owner on Dec 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 238
Relax support.function.js and support.constant.js regex #158
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I like how that would look. |
…relax-regex Conflicts: grammars/javascript.cson
Looks great. |
winstliu
pushed a commit
that referenced
this pull request
Aug 4, 2015
Relax support.function.js and support.constant.js regex
🚢 |
I published 0.88 that included this and bumped it on atom/atom and it caused a few CI failures because of some scope comparisons in some core specs that need to be tweaked:
|
@50Wliu I'm going to revert this PR to publish around this change and land the other unreleased changes on atom/atom until we figure out the broken specs from this PR. |
@kevinsawicki I was actually thinking of reverting this myself in order to try to merge this one with #146 😄. When I get back to it I'll make sure to also test the core specs. |
This was referenced Aug 25, 2015
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The patterns they match are no longer a hardcoded set of words and are now just
\w+
to match any word sequence.A side effect of this change is that there can no longer be
support.{function|constant}.dom.js
capturing groups anymore unless you wanted.dom
to have a specific set of patterns whilesupport.{function|constant}
didn't. In that sense, this is a pretty major change.Refs #137.