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

MAINT: crackfortran regex simplify #18356

Merged
merged 2 commits into from Feb 7, 2021

Conversation

charris
Copy link
Member

@charris charris commented Feb 7, 2021

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
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.

None yet

2 participants