@botmesh/core - v2.0.0-alpha.2
    Preparing search index...

    Interface RedactionRule

    One custom redaction rule. Every match becomes <name:N>.

    interface RedactionRule {
        name: string;
        pattern: RegExp;
    }
    Index
    name: string

    Placeholder label ([a-z0-9_-]+).

    pattern: RegExp

    Pattern to replace (the global flag is added when missing).