%r{\.(gif|jpg|png)$}i, What does the i do?
Martin Hawkins
1 post
|
v2, p85: What does the “i” do at the end of the second line? I’ve tried it without and it seems to run fine. |
Sam Ruby
109 posts
|
It makes the regular expression case insensitive. With the |
2 posts, 2 voices
