Added re.MULTILINE to filter_notes_regexp to allow multiline regexp searches.