fix percent search with regex