Fix search with regex