FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

MAINT: crackfortran regex simplify by charris · Pull Request #18356 · numpy/numpy · GitHub

/ numpy Public

MAINT: crackfortran regex simplify - #18356

Merged
charris merged 2 commits into
numpy:maintenance/1.20.xfrom
charris:backport-18072
Feb 7, 2021
Merged

charris merged 2 commits into
numpy:maintenance/1.20.xfrom
charris:backport-18072

Conversation

charris commented Feb 7, 2021

Copy link
Copy Markdown
Member

Backport of #18072.

  • remove extraneous character class markers used in
    crackline_re_1: \w and = on their own have no
    benefit to character class [] inclusion

  • name_match has a character class that can be
    simplified because \w metacharacter already
    encompasses the digit metacharacter and the
    underscore

* remove extraneous character class markers used in
`crackline_re_1`: `\w` and `=` on their own have no
benefit to character class `[]` inclusion

* `name_match` has a character class that can be
simplified because `\w` metacharacter already
encompasses the digit metacharacter and the
underscore
* `name_match` regular expression now starts by
matching a letter only, based on reviewer
feedback
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL