Skip to main content

Type Alias: SubstitutionEntry

SubstitutionEntry = [string, string]

Defined in: packages/cspell-types/dist/index.d.mts:1142

A substitution entry is a tuple of the form [find, replacement]. The find string is the string to find, and the replacement string is the string to replace it with.

  • find - The string to find. This is the string that will be replaced in the text. Only an exact match will be replaced. The find string is not treated as a regular expression.
  • replacement - The string to replace the find string with. This is the string that will be used to replace the find string in the text.

Since

9.7.0