returns false on regex against null