Case insensitive matching
Group punctuation as a separate word
Handle html entities as single words.