I am working with Flask 0.9. I have experience with Google App Engine.
In GAE, the url match patterns are evaluated in the order they appear, first come first s
If you need to handle all urls not found on server — just create 404 hanlder:
@app.errorhandler(404) def page_not_found(e): # your processing here return result