I'm having a bit of trouble matching a url argument, perhaps someone can tell me what im doing wrong?
The example i am roughly following is: handlers: - url: /item-(.*?)/category-(.*) static_files: archives/\2/items/\1 So the problem is i have a directory where there is a "dynamic" in the middle of static directories, which means i need to use a url argument of sorts. Some examples of what this looks like, with the url on the left and directory on the right, would be: http://example.com/static/dynamic_dir_one/css/style.css == /static/dynamic_dir_one/html/css/style.css http://example.com/static/dynamic_dir_two/css/style.css == /static/dynamic_dir_two/html/css/style.css Now its that dynamic dir in the middle causing problems. Here is the app.yaml code i am attempting to use to solve this: - url: /static/(.+)/html/(.*) static_dir: /static/\1/html/\2 What is wrong with that? Now i havent used regex in atleast 3 or 4 years, so im having a hell of a time figuring it out again, but doesn't that equate to: /static/(any character except linebreaks up to "/")/html/(anything else) Any ideas? I'd appreciate a hint at what im doing wrong. Thanks, Lee --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" 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/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
