CMunger.addRule Member

Syntax

object.addRule(name, regex, className, priority, startPriority, enable);

Arguments

ArgumentSummary
name
regex
className
priority
startPriority
enable

Returns

Remarks

See Also

Source Code

function mng_addrule(name, regex, className, priority, startPriority, enable)
{
if (typeof this.entries[priority] != "object")
this.entries[priority] = new Object();
var entry = new CMungerEntry(name, regex, className, priority,
startPriority, enable);
this.entries[priority][name] = entry;
}