adding a StaticText class used in parsing and translating a route pattern