changed regex delimiter to : for easier reading
Implemented capturing groups for routing.