More compact and more correct building of terminator regexps. The absent 'begin' is now explicitly gets assigned \b|\B.
Don't include dots into the default keyword lexeme. Fixes #352.