ironed out regex issue