Add tests for regexp match to check for word break.