This Regex Pattern: \bgoogle\b
Test case: http://www.google.com/
It matches.
Why?
Because a period represents a word boundary. That is, it is not part of a word, just as a space, a colon, a semicolon, or a tab character are not part of a word. \b is a zero-width assertion, meaning it does not match anything itself, it just defines something about the match.