NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
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: cst_regex
Function Description
cst_regex() Config type representing a regular expression
regex_destroy - Destroy a Regex object() Implements ConfigSetType::destroy() -
regex_free() Free a Regex object
regex_native_get - Get a Regex object from a Regex config item() Implements ConfigSetType::native_get() -
regex_native_set - Set a Regex config item by Regex object() Implements ConfigSetType::native_set() -
regex_new() Create an Regex from a string
regex_reset - Reset a Regex to its initial value() Implements ConfigSetType::reset() -
regex_string_get - Get a Regex as a string() Implements ConfigSetType::string_get() -
regex_string_set - Set a Regex by string() Implements ConfigSetType::string_set() -