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

Add haskey(::RegexMatch, ::Symbol) to test for named capture groups #36717

Merged
merged 3 commits into from
Aug 4, 2020

Commits on Aug 4, 2020

  1. Add haskey(::RegexMatch, ::Symbol) to test for named capture groups

    Currently, the only way to test for a named capture group within
    `RegexMatch` is to attempt to index into it and catch the error after it
    fails; this adds a way to probe for a given key.
    staticfloat committed Aug 4, 2020
    Configuration menu
    Copy the full SHA
    377faac View commit details
    Browse the repository at this point in the history
  2. Add NEWS.md

    staticfloat committed Aug 4, 2020
    Configuration menu
    Copy the full SHA
    b5b0973 View commit details
    Browse the repository at this point in the history
  3. Remove unnecessary error() within substring_number_from_name()

    This error path is more helpfully handled by all call sites.
    staticfloat committed Aug 4, 2020
    Configuration menu
    Copy the full SHA
    49a692d View commit details
    Browse the repository at this point in the history