I'm writing a url rewrite in django that when a person goes to http://mysite.com/urlchecker/http://www.google.com it sends the url: http://ww.google.com to a view as a string variable.
I tried doing:
(r'^urlchecker/(?P<url>\w+)/$', 'mysite.main.views.urlchecker'),
But that didn't work. Anyone know what I'm doing wrong?
Also, generally is there a good resource to learn regular expressions specifically for python/django?
Thanks guys!