> ## Documentation Index
> Fetch the complete documentation index at: https://botmesh.afaya.com.co/llms.txt
> Use this file to discover all available pages before exploring further.

# RedactionRule

> Interface exported by @botmesh/core.

Defined in: [testing/transcripts/redact.ts:33](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/transcripts/redact.ts#L33)

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

## Properties

### name

```ts theme={null}
name: string;
```

Defined in: [testing/transcripts/redact.ts:35](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/transcripts/redact.ts#L35)

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

***

### pattern

```ts theme={null}
pattern: RegExp;
```

Defined in: [testing/transcripts/redact.ts:37](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/transcripts/redact.ts#L37)

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.