allow emptiness in regex again