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