ReplaceAllParams<CapturedGroupArgs>
Parameters for replaceAll.
Import:
import type { ReplaceAllParams } from 'obsidian-dev-utils/string';Signature:
export interface ReplaceAllParams<CapturedGroupArgs extends string[]>Properties
| Property | Type | Description |
|---|---|---|
| replacer | Replacer<CapturedGroupArgs> | A replacer function that generates replacement strings, or a string to replace with. |
| searchValue | RegExp | string | The string or regular expression to search for. |
| str | string | The string in which to perform replacements. |
Links to this page: