ruby / psych

A libyaml wrapper for Ruby
MIT License
566 stars 206 forks source link

Use `String#match?` over `String#=~` when applicable #688

Closed casperisfine closed 2 months ago

casperisfine commented 2 months ago

Save on allocating useless MatchData instances.

cc @tenderlove