On Thu, Oct 29, 2009 at 5:56 AM, Yo'av Moshe <[email protected]> wrote:

> Hey,
> I'm trying to use regex for a simple redirection without succces. Only
> wants to redirect '/dir/another/path/to/file.ext' into
> '/dir/newone/another/path/to/file.ext'.
> This is what I wrote:
> ^/dir\/another/(.*)$ -> /dir/newone/another/$1
>

Why are you only escaping one of the backslashes?  In fact, since you're not
doing an s/// syntax, shouldn't that one not need to be escaped at all?

-- 
James Pearson
--
The best way to predict the future is to invent it.
 - Alan Kay
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to