We prefer to use `str.search(/regexp/) != -1` instead of `str.match(/regexp/)` where you do not need the results of the match.