I think this might be a really ugly way of doing it, but I changed
that line from

    if ($str{0} == '/' && $str{strlen($str) - 1} == '/')
to

    if ($str{0} == '/' && ($str{strlen($str) - 1} == '/' || $str{strlen
($str) - 2} == '/'))

and it obviously now works.  Can anyone think of a cleaner way this
should be implemented?

--
Stephen Ostrow
[email protected]

On Apr 30, 6:55 pm, isleshocky77 <[email protected]> wrote:
> Before I put a ticket in for this I was wondering if I'm correct in my
> assessment that sfFinder cannot currently work with a name patter
> which has a case-insensitive modifier.
>
> Looking at line 116 of the sfFinder.class.php it looks like if you
> have a pattern such as
> /\.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