[CLI] Add test for exact match over regex at start of token.

Closes #316