﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
54	pattern in url_dispatch.txt maybe wrong	James Zhu	Jacob	"{{{
>>> import re
>>> a = r'^/articles/(?P\d{4})/$'
>>> re.compile( a )
Traceback (most recent call last):
  File ""<input>"", line 1, in ?
  File ""C:\Python24\Lib\sre.py"", line 180, in compile
    return _compile(pattern, flags)
  File ""C:\Python24\Lib\sre.py"", line 227, in _compile
    raise error, v # invalid expression
error: unknown specifier: ?P\d
>>> a = r'^/articles/(?P<year>\d{4})/$'
>>> re.compile( a )
<_sre.SRE_Pattern object at 0x01093350>
}}}

Should we add the group name in patterns?"	defect	closed	Documentation		normal	fixed			Unreviewed	0	0	0	0	0	0
