support pattern syntax for indexed routes