DEFAULT_UNARCHIVE(wildcard)
//////////
-// functions overriding virtual functions from bases classes
+// functions overriding virtual functions from base classes
//////////
int wildcard::compare_same_type(const basic & other) const
bool wildcard::match(const ex & pattern, lst & repl_lst) const
{
- // Wildcards must match exactly (this is required for subs() to work
- // properly because in the final step it substitutes all wildcards by
- // their matching expressions)
+ // Wildcards must match each other exactly (this is required for
+ // subs() to work properly because in the final step it substitutes
+ // all wildcards by their matching expressions)
return is_equal(*pattern.bp);
}