#include <assert.h>
#include <string.h>
+// ------------------
// ### Char tests ###
+// ------------------
static bool is_quantifier(const char c) {
for (const char * s = "+*?"; *s != '\00'; s++) {
if (*s == c) {
+// ----------------------
// ### Internal Types ###
+// ----------------------
typedef struct {
int in;
char input;
+// ----------------------------------
// ### Regex creation/destruction ###
+// ----------------------------------
static int escape_1_to_1(const char c, char * whitelist) {
switch(c) {
case 't': {
+// -----------------
// ### Searching ###
-
+// -----------------
static bool regex_assert(const regex_t * const regex,
const char * const string,
int state) {