This change create some matchers and text functions that will be used by the upcoming webvtt work. Change-Id: I2d7931d1bdabd761f74e8aee7524d5ecfb7cfdc4