Added anchors to patterns.

The anchors make sure that the url /app does not stomp on /customerapp.