Write a function named simpleURLParser
that receives 2 parameters:
route
url
The function should return true
if the url
matches the route
pattern, otherwise it should return false
.
NOTE: placeholders that start with
:
are dynamic and can match any value made up of numbers, letters ar the-
character.
route
=url
=route
=url
=route
=url
=