I'm thinking that `re.search` should possibly be used in place of `match`.  The reason being that this corresponds to the behavior of `grep`, `grep -E`, and `egrep`.  If a match is needed, someone could make the pattern start with `^`.