It is a regexp. The slashes mark the start and the end of the pattern, the i is the case-insensitive flag, so it also matches .JPG, .jPG, etc. Recommended reading: http://hu.php.net/manual/en/regexp.reference.php
> /\.jpg$/i that it would look at that as not being a regex expression > because it's last character is not a / > > Anyone have a good way of doing this? > > Thanks > > -- > Stephen Ostrow > sost...@sowebdesigns.com > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---