On Sun, Oct 5, 2008 at 1:20 AM, rick c <[EMAIL PROTECTED]> wrote:
>
> The build string in your rewrite rule isn't including the snippet
> language that the regex defines. I would try something like
>
> 'build_str' => 'snippet/{$snippet_language}/{$slug}',
>
> as the build string.
>

Also your regex there is not matching anything. The "groups" are empty
(). try somthing like:

'parse_regex' => '%^snippet/(?P<snippet_language>[^/]+)/(?P<slug>[^/]+)/?$%i'



-- 
Matt Read
http://mattread.com

--~--~---------~--~----~------------~-------~--~----~
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/habari-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to