added regex assignment