cpp/regex/regex error/operator=

Assigns the contents with those of. If and  both have dynamic type  then  after assignment.