This regex matches "bob" but does not match "abob", "bobb" or "cbobd" while it does match "cbob" and "bobd".
Here "bob" is the dirty word and "abob", "bobb" and "cbobd" are safe phrases