Yes, I know this, but like 116 of sfFinder.class.php has it looking
exclusively for '/something/' by stating the first character and the
last character must be slashes.  If you had something like '/someTHING/
i' it would not recognise it as being a regex pattern and therefore
not treat it as one.  I've put in a ticket along with a patch and
update tests.  It appears not to have affected any of the other
symfony tests.

http://trac.symfony-project.org/ticket/6379

--
Stephen Ostrow
[email protected]

On Apr 30, 7:26 pm, FÁSI Gábor <[email protected]> wrote:
> 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
> > [email protected]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to