]> www.ginac.de Git - ginac.git/blobdiff - doc/tutorial/ginac.texi
match: don't modify subexpression list if expression doesn't match the pattern.
[ginac.git] / doc / tutorial / ginac.texi
index eed9fef391386ed71daa9d4c7a6791c359ec8fe3..11c67f91c4e66aa1fdeb6f86f88ff8928244d655 100644 (file)
@@ -4420,10 +4420,7 @@ This function returns @code{true} when the expression matches the pattern
 and @code{false} if it doesn't. If used in the second form, the actual
 subexpressions matched by the wildcards get returned in the @code{repls}
 object as a list of relations of the form @samp{wildcard == expression}.
-If @code{match()} returns false, the state of @code{repls} is undefined.
-For reproducible results, the list should be empty when passed to
-@code{match()}, but it is also possible to find similarities in multiple
-expressions by passing in the result of a previous match.
+If @code{match()} returns false,  @code{repls} remains unmodified.
 
 The matching algorithm works as follows: