matches location regex sintax as per: location [ = | ~ | ~* | ^~ ]