Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Fix: Create RegExp object for RegExp literals (fixes #287) #291

Merged
merged 2 commits into from
May 25, 2017

Conversation

soda0289
Copy link
Member

Followed the spec here: https://github.com/estree/estree/blob/master/es5.md#regexpliteral
If RegExp throws exception, for invalid regex or unsupported flag, we set value property to null.

@eslintbot
Copy link

LGTM

@soda0289
Copy link
Member Author

I need to update the tests to handle different results for different versions of node.js.

@eslintbot
Copy link

LGTM

@soda0289 soda0289 requested a review from JamesHenry May 24, 2017 14:44
@soda0289 soda0289 force-pushed the fix-regex-literal branch from 82a3620 to 1b32818 Compare May 24, 2017 14:49
@eslintbot
Copy link

LGTM

@soda0289
Copy link
Member Author

@JamesHenry got it working. Had to create two sets of results

Copy link
Member

@JamesHenry JamesHenry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, nice one!

@JamesHenry JamesHenry merged commit 31ad3c4 into master May 25, 2017
@JamesHenry JamesHenry deleted the fix-regex-literal branch May 25, 2017 09:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants