Organize your regex capture groups with named captures!
Tag: regex
Episode #274: Backreference
Today's episode is about creating self-referential regular expressions.
Episode #260: Regex Capture Groups with Nell Shamrell
Guest chef Nell Shamrell shares an intro to working with regex capture groups in this episode.
Episode #241: Match
In this episode, we look into how to get the most out of the Regexp#match method.
Episode #228: Reconsidering Regexen
Regular expressions are one of the most powerful tools at our disposal. But sometimes they aren't as well suited to a job as they may first appear. In today's episode …
Episode #215: Grep
Today we look at Ruby's grep method, and explore the idea of matching objects by example.
Episode #199: Regexp Union
Today's episode demonstrates an easy way to build big regular expressions out of little ones.
Episode #190: Gsub
Today we look at the humble String#gsub method, and learn that it has some surprising tricks up its sleeve.
Episode #155: Matching Digits
Today's episode delves into some advanced regular expression features, including "lookahead" and "lookbehind". Notes for further exploration: The book "Programming Ruby 1.9 and 2.0" rubular.com Talks from Nell Shamrell. There …