Method code for $root.match_descendants()

[Turn on line numbering]
arg string;
var match, child;

match = .match_children(string);
if (match)
    return match;
for child in (.children()) {
    match = child.match_descendants(string);
    if (match)
        return match;
}
return 0;

["// Created as a part of ColdCore, see: @help Credit"]

the Cold Dark