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[-\w]+)/$
^(?P[-\w]+)/$
[-\w] will accept a-z 1-9 and dash