Checking Django URL patterns using the RegExp checker.

Hello, I cannot use the handy RegExp checker on certain Django url patterns.

A pattern like:

    ^posts/(\d)/

is checked successfully using the RegExp and the url `posts/1/`

However, a pattern like:

    ^posts/(?P<num>\d)/

is never matched, most probably because the RegExp tool does not interpret the `?P<num>` part correctly.
1 comment
It is a known bug. Please vote for http://youtrack.jetbrains.com/issue/PY-9112 to get it fixed and receive updates on this issue.
0

Please sign in to leave a comment.