Im trying to work out a url that will match domain.com\\about-us\\ & domain.com\\home\\
I have a url regex:
^(?P\\w+)/$
Try: ^(?P<page>[-\w]+)/$
^(?P<page>[-\w]+)/$
[-\w] will accept a-z 1-9 and dash