Patch for the wildcard regex not working all the time, added the = charactere and escaping the - caractere in regex

Added a test for other route case

Signed-off-by: Pascal Piche <pascal@nitriques.com>