Fixed search to use regular expression that finds messages that contain
the searched word, instead of requiring a complete match