Brian Candler wrote: > Abder-rahman Ali wrote: >> %r{\.(gif|jpg|png)$}i >> >> I knew that %r is a way to write a regular expression. >> >> But, what is the $, and the i? > > > http://www.ruby-doc.org/docs/ProgrammingRuby/html/language.html#UK Thanks Brian. -- Posted via http://www.ruby-forum.com/.