6629bda6c730982c3e4602ec78ff3b0cbf701c61 braney Tue May 25 17:31:38 2021 -0700 implement cart editing. Needs doc. ;-) diff --git src/inc/regexHelper.h src/inc/regexHelper.h index 59e6346..a1bdd0e 100644 --- src/inc/regexHelper.h +++ src/inc/regexHelper.h @@ -60,18 +60,20 @@ void regexSubstringCopy(const char *string, const regmatch_t substr, char *buf, size_t bufSize); /* Copy a substring from string into buf using start and end offsets from substr. * If the substring was not matched then make buf an empty string. */ char *regexSubstringClone(const char *string, const regmatch_t substr); /* Clone and return a substring from string using start and end offsets from substr. * If the substring was not matched then return a cloned empty string. */ int regexSubstringInt(const char *string, const regmatch_t substr); /* Return the integer value of the substring specified by substr. * If substr was not matched, return 0; you can check first with regexSubstrMatched() if * that's not the desired behavior for unmatched substr. */ +#ifdef NOTNOW char *regexEdit(struct regexEdit *editArray, unsigned numEdits, char *input, boolean quiet); /* Perform a list of edits on a string. */ +#endif #endif // REGEXHELPER_H