I am trying to extract an expression of given pattern from the list of the form
list = {a -> b, c -> d} (* typical output of Solve *)
For example, all the expressions which look like x -> 0
.
For obvious reasons, Cases[list, _ -> 0]
does not work. What should I do instead?
Cases
. Close as "easily found in the documentation". $\endgroup$Cases
but I think this question is more useful to the community marked as a duplicate than simply closed, so I did that. I do not mean any disrespect to you by this action. If you feel that my action was inappropriate please tell me. $\endgroup$