colorwrap/include/linework.h

12 lines
326 B
C

#ifndef _LINEWORK_H
#define _LINEWORK_H
#include <structdef.h>
#include <regex.h>
int line_regex_replace(ct_line *line, regex_t *regex, int replace_group, char *with, int max_instances);
int line_regex_wrap_match(ct_line *line, regex_t *regex, int target_capture_group, char *left, char *right, int max_instances);
#endif