From: Abder-rahman Ali Date: 2010-06-15T00:24:08+09:00 Subject: Regular expressions in Ruby I'm new to Ruby, and just want to ask about how to read the following statement from the "Agile Web Development With Rails, 3rd edition" book: %r{\.(gif|jpg|png)$}i I knew that %r is a way to write a regular expression. But, what is the $, and the i? Thanks. -- Posted via http://www.ruby-forum.com/.