Today we look at Ruby's grep method, and explore the idea of matching objects by example.
Today's episode demonstrates an easy way to build big regular expressions out of little ones.
Today we look at the humble String#gsub method, and learn that it has some surprising tricks up its sleeve.
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 …
In today's episode, we learn a wonderfully convenient way to substitute text.
Today the focus is on a convenient way to extract substrings using regular expressions. We glossed over this technique briefly in an earlier episode, but now it's front and center.
Today's episode looks at a convenient tool for weeding through text and pulling out parts that match a given pattern.