NeoMutt  2024-04-25-100-gcb3684
Teaching an old dog new tricks
No Matches
Type: Regular expression

Config type representing a regular expression.

  • Backed by struct Regex
  • Empty regular expression is stored as NULL
  • Validator is passed struct Regex, which may be NULL
  • Data is freed when ConfigSet is freed
  • Implementation: CstRegex


Data Description Links
CstRegex Config type representing a regular expression


Function Description Links
regex_destroy() Destroy a Regex object ConfigSetType::destroy(), cfg_type_destroy
regex_equal() Compare two regexes
regex_free() Free a Regex object
regex_native_get() Get a Regex object from a Regex config item ConfigSetType::native_get(), cfg_type_native_get
regex_native_set() Set a Regex config item by Regex object ConfigSetType::native_set(), cfg_type_native_set
regex_new() Create an Regex from a string
regex_reset() Reset a Regex to its initial value ConfigSetType::reset(), cfg_type_reset
regex_string_get() Get a Regex as a string ConfigSetType::string_get(), cfg_type_string_get
regex_string_set() Set a Regex by string ConfigSetType::string_set(), cfg_type_string_set