Add option to accept search with regex