Changed doc match to a single expression
Parser for single expression doc matcher
Test code mainly