
Math::Expr::MatchSet - Represents matches in algebraic expretions

require Math::Expr::MatchSet; $s=new Math::Expr::MatchSet; $s->Set($pos,$match); $s->Get($pos);

Two expretion can be matched in several ways, therefor we need to be able to represent a set of matches keyed by the matchposition (the subexpretion, where the match where found).

Create a new MatchSet object.
Sets the match at $pos to $match.
Synonyme to Set.
Inserts all mathes in the MatchSet £mset intho $s.
Generates a string representation of the MatchSet, used for debugging.
Returns the Match at possition $pos.
Returns the positions at which there excists a match.