Skip to content

os/mac/version: use named captures in regex#10358

Merged
SeekingMeaning merged 1 commit intoHomebrew:masterfrom
SeekingMeaning:mac-version-named-captures
Jan 19, 2021
Merged

os/mac/version: use named captures in regex#10358
SeekingMeaning merged 1 commit intoHomebrew:masterfrom
SeekingMeaning:mac-version-named-captures

Conversation

@SeekingMeaning
Copy link
Copy Markdown
Contributor

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes? Here's an example.
  • Have you successfully run brew style with your changes locally?
  • Have you successfully run brew typecheck with your changes locally?
  • Have you successfully run brew tests with your changes locally?
  • Have you successfully run brew man locally and committed any changes?

This makes it more intuitive to retrieve captures since we can use symbols instead of numbered indexes

@BrewTestBot
Copy link
Copy Markdown
Contributor

Review period will end on 2021-01-19 at 18:32:10 UTC.

@BrewTestBot BrewTestBot added the waiting for feedback Merging is blocked until sufficient time has passed for review label Jan 18, 2021
@MikeMcQuaid
Copy link
Copy Markdown
Member

Nice cleanup!

@BrewTestBot
Copy link
Copy Markdown
Contributor

Review period ended.

@BrewTestBot BrewTestBot removed the waiting for feedback Merging is blocked until sufficient time has passed for review label Jan 19, 2021
@SeekingMeaning SeekingMeaning merged commit 152eac3 into Homebrew:master Jan 19, 2021
@BrewTestBot BrewTestBot added the outdated PR was locked due to age label Feb 19, 2021
@Homebrew Homebrew locked as resolved and limited conversation to collaborators Feb 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

outdated PR was locked due to age

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants