I've been working with this url for username regex in Django for a while:
url(r'^.../(?P<username>[-\w]+)/$'
But now, I've got a strange case, sometimes Google answers with a username like this:
luke.skywalker
instead of lukeskywalker
And it looks like my regex doesn't accept dots - I get a NoReverseMatch
error. Could someone please help me with a correct regex?