On Thu, Jan 20, 2011 at 4:40 PM, Volker Mische <[email protected]> wrote:
>
> {
> "from": "/page/:x/:y/:z",
> "to": "/_show/post/:x-:y-:z/something",
> "params": {
> "x": {
> "match": "\\d",
> },
> "y": {
> "match": "\\d",
> },
> "z": {
> "match": "\\d",
> }
> }
>
This one is already possible in current couchapp_legacy rewriter. I'm
not a fan to have something other than :
patterns: {
"name1": "regexp",
...
}
It will make the system really complex. Maybe as an option though. I
can detect if I have an object or not. I think it would be better to
say ".*"
(and i need to find a new name for couchapp_legacy)
- benoît