A
Abder-rahman Ali
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.
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.