Closed arihantparsoya closed 7 years ago
This one looks like it will be tricky to track down. I think it happens because of the many nested commutative expressions and some missing case here. I will try to fix it as soon as possible.
Thanks !
I published the new version to PyPI.
There is also a new function rename_variables
in matchpy.expressions.functions
that you can use instead of Expression.with_renamed_vars
. The advantage of that is you can use it with mixed expressions, i.e. expressions that contain objects which are not an Expression
- e.g. an int
.
is_match
is returningTrue
butManyToOneReplacer
is not able to match the subject:Operators are: