Is it possible to use pattern matching in Sage? I have some experience with Mathematica and I'm currently thinking about switching, and I'm evaluating what Sage can do. As far as I can see pattern matching is not supported. Is this true? If yes, are there any plans to support it in the future?
See here for some examples.