Added parse support for assertions: lookarounds, word boundaries, line
breaks, beginning and end of input.