added custom regex to options