Skip to main content

Type Alias: DictionaryNegRef

DictionaryNegRef = string

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

This a negative reference to a named dictionary.

It is used to exclude or include a dictionary by name.

The reference starts with 1 or more !.

  • !<dictionary_name> - Used to exclude the dictionary matching <dictionary_name>.
  • !!<dictionary_name> - Used to re-include a dictionary matching <dictionary_name>. Overrides !<dictionary_name>.
  • !!!<dictionary_name> - Used to exclude a dictionary matching <dictionary_name>. Overrides !!<dictionary_name>.

Pattern

^(?=!+[^!,;[]~\n]+$)(?=(.\w)).+$