aboutsummaryrefslogtreecommitdiff
path: root/text-regex.h
diff options
context:
space:
mode:
Diffstat (limited to 'text-regex.h')
-rw-r--r--text-regex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/text-regex.h b/text-regex.h
index 5c85fdd..15b2340 100644
--- a/text-regex.h
+++ b/text-regex.h
@@ -9,6 +9,7 @@ typedef Filerange RegexMatch;
Regex *text_regex_new(void);
int text_regex_compile(Regex *r, const char *regex, int cflags);
void text_regex_free(Regex *r);
+int text_regex_match(Regex*, const char *data, int eflags);
int text_search_range_forward(Text*, size_t pos, size_t len, Regex *r, size_t nmatch, RegexMatch pmatch[], int eflags);
int text_search_range_backward(Text*, size_t pos, size_t len, Regex *r, size_t nmatch, RegexMatch pmatch[], int eflags);