add throwEmptyResultException prop to regex