def get_page_args():
pages = {}<EOL>for arg in request.args:<EOL><INDENT>re_match = re.findall("<STR_LIT>", arg)<EOL>if re_match:<EOL><INDENT>pages[re_match[<NUM_LIT:0>]] = int(request.args.get(arg))<EOL><DEDENT><DEDENT>return pages<EOL>
Get page arguments, returns a dictionary
{ <VIEW_NAME>: PAGE_NUMBER }

Arguments are passed: page_<VIEW_NAME>=<PAGE_NUMBER>