documented regexps

Change-Id: Id75b3e8843153f8cf8259d572f115722e4062469