Use Regexp.union to process search result titles