"Only as whole word" operation

When running the Replace action, if a word is followed by a comma or full stop then it is not accepted as a whole word. Is this intentional?

If so a note could be made in the help file that "whole words" must have spaces before and after. Otherwise it is somewhat ambiguous.