Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Regexp#match? to avoid extra allocations
`#=~` builds `MatchData`, requiring extra allocations as compared to `#match?`, which returns a boolean w/o having to build the `MatchData`.
- Loading branch information