use ArrayObject for matches
extract Route regex work to a Regex class
make Regex a dependency
reuse the Regex object