ruby-style-guide
ruby-style-guide copied to clipboard
Regex improvements
Regex anchoring was missing an IMO pretty important why this is preferred, so added that.
For the match? addition I considered merging it with the non-capturing group recommendation, but figured both recommendations could stand on their own: one could be using both capturing and non-capturing groups in the same regular expression.