Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: remove superfluous regex in tools/doc/json.js #33998

Merged
merged 0 commits into from
Jun 23, 2020

Conversation

Trott
Copy link
Member

@Trott Trott commented Jun 21, 2020

Remove noCallOrProp from tools/doc/json.js. It is a negative lookahead
that is only used in one regex where it is placed immediately before a
terminating $, thus rendering it meaningless.

I ran make doc with this change and confirmed that the contents of out/doc were unchanged.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. tools Issues and PRs related to the tools directory. labels Jun 21, 2020
@Trott Trott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jun 22, 2020
@Trott
Copy link
Member Author

Trott commented Jun 23, 2020

I guess we need a regex team or something. 😆 Let's try: /ping @davisjam

@davisjam
Copy link
Contributor

I agree that the new regex is equivalent to the previous version.

(Happy to ponder other regexes as they come up ;-))

Copy link
Contributor

@davisjam davisjam left a comment

Choose a reason for hiding this comment

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

LGTM

@Trott
Copy link
Member Author

Trott commented Jun 23, 2020

Landed in d408ee1

@Trott Trott closed this Jun 23, 2020
@Trott Trott merged commit d408ee1 into nodejs:master Jun 23, 2020
@Trott Trott deleted the nocallorprop branch June 23, 2020 22:33
codebytere pushed a commit that referenced this pull request Jun 27, 2020
Remove noCallOrProp from tools/doc/json.js. It is a negative lookahead
that is only used in one regex where it is placed immediately before a
terminating $, thus rendering it meaningless.

PR-URL: #33998
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Jamie Davis <[email protected]>
@codebytere codebytere mentioned this pull request Jun 28, 2020
codebytere pushed a commit that referenced this pull request Jun 30, 2020
Remove noCallOrProp from tools/doc/json.js. It is a negative lookahead
that is only used in one regex where it is placed immediately before a
terminating $, thus rendering it meaningless.

PR-URL: #33998
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Jamie Davis <[email protected]>
codebytere pushed a commit that referenced this pull request Jul 10, 2020
Remove noCallOrProp from tools/doc/json.js. It is a negative lookahead
that is only used in one regex where it is placed immediately before a
terminating $, thus rendering it meaningless.

PR-URL: #33998
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Jamie Davis <[email protected]>
codebytere pushed a commit that referenced this pull request Jul 12, 2020
Remove noCallOrProp from tools/doc/json.js. It is a negative lookahead
that is only used in one regex where it is placed immediately before a
terminating $, thus rendering it meaningless.

PR-URL: #33998
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Jamie Davis <[email protected]>
@codebytere codebytere mentioned this pull request Jul 13, 2020
codebytere pushed a commit that referenced this pull request Jul 14, 2020
Remove noCallOrProp from tools/doc/json.js. It is a negative lookahead
that is only used in one regex where it is placed immediately before a
terminating $, thus rendering it meaningless.

PR-URL: #33998
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Jamie Davis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. doc Issues and PRs related to the documentations. tools Issues and PRs related to the tools directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants