NeoMutt  2024-12-12-19-ge4b57e
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
regex2.h
Go to the documentation of this file.
1
23#ifndef MUTT_CONFIG_REGEX2_H
24#define MUTT_CONFIG_REGEX2_H
25
26#include <stdbool.h>
27#include <stdint.h>
28
29struct Buffer;
30struct Regex;
31
32bool regex_equal(const struct Regex *a, const struct Regex *b);
33void regex_free (struct Regex **ptr);
34struct Regex *regex_new (const char *str, uint32_t flags, struct Buffer *err);
35
36#endif /* MUTT_CONFIG_REGEX2_H */
struct Regex * regex_new(const char *str, uint32_t flags, struct Buffer *err)
Create an Regex from a string.
Definition: regex.c:102
bool regex_equal(const struct Regex *a, const struct Regex *b)
Compare two regexes.
Definition: regex.c:52
void regex_free(struct Regex **ptr)
Free a Regex object.
Definition: regex.c:68
String manipulation buffer.
Definition: buffer.h:36
Cached regular expression.
Definition: regex3.h:86