A quick episode about regular expression quoting.
Tag: syntax
Episode #247: Multiline Strings
Today we'll compare a few different ways to quote large, multi-line blocks of text.
Episode #030: Backticks
Celebrate Friday with a stupid Ruby trick! In this epsiode we discover one of Ruby's most overlooked operators, and overload it just because we can.
Episode #005: Array Literals
Using strings to build up command lines for execution is error-prone and potentially insecure. Check out why Ruby's %W array-literal syntax is the perfect tool for writing, composing, and executing …
Episode #003: Character Literals
Much like a vestigial tail, Ruby has a character literal syntax which is funny-looking and largely useless. In the interests of completeness, let's see if we can find an excuse …
Episode #001: Binary Literals
In this inaugural episode, a look at a handy syntax for writing out binary numbers.