Display regex error in the search and replace dialog