I have a urlPattern:
"urlPattern" : "^\/blah\/players\/1000\/game\/tickets\\?drawFrom=(.*)&drawTo=(.*)&take=10&skip=0"
But when trying to match them, I get "Request not matched" and this error
<<<<< null. When using a regex, "?" should be "\\?". URLs must start with a /
The url regex is also showing up in the terminal as
^\/blah\/players\/1000\/game\/tickets\?drawFrom=(.*)&drawTo=(.*)&take=10&skip=0
I have used \\?
instead of \?
so I'm stuck on what the problem could be. I've also used almost identical regex in other places that's working fine.
EDIT: This is what the actual request looks like
/blah/players/1000/game/tickets?drawFrom=2018-01-01&drawTo=2018-02-02&take=10&skip=0