Login
From:
Mathematica Stack Exchange
(Uncensored)
subscribe
replacement - Pattern does not match with Orderless head - Mathematica Stack Exchange
https://mathematica.stackexchange.com/questions/94432/pattern-does-not-match-with-orderless-head
links
backlinks
Tagged with:
attributes
replacement
hold
pattern-matching
Why does the following pattern matching not succeed? ClearAll[f]; SetAttributes[f,Orderless]; HoldForm[f[a,d[],b,c]]/.HoldPattern[f[a,d[],b,z_]]:>{z} (* f[a,d[],b,c] *) I expected that because ...
Roast topics
Find topics
Find it!