On 2 mai, 19:58, "Aaron S. Meurer" <asmeu...@gmail.com> wrote: > For pattern matching where the result is not well defined, what do you plan > to do (e.g., (x + y).match(u + v), u and v are both Wild's)? Will you just > have a disclaimer that if you do this, the result could be not what you > expect?
We could add aditional arguments to Wild(), about whether it is greedy and what not, which non-atoms could be consumed (Add, Mul... etc.), ... This is somewhat related to regular expressions. Vinzent -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sy...@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.