diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-03-11 12:55:34 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-04-03 13:13:26 +0200 |
| commit | 1ea9a99cf9872166cdf3b0aad93ee4896021e4f6 (patch) | |
| tree | b9318f965ff86f4fc2b9131b63c1f1e7fd273ed3 /text-regex.h | |
| parent | ba23d97ef69e9c913775d037b58beb66b5b1384c (diff) | |
| download | vis-1ea9a99cf9872166cdf3b0aad93ee4896021e4f6.tar.gz vis-1ea9a99cf9872166cdf3b0aad93ee4896021e4f6.tar.xz | |
text-regex: introduce function to match arbitrary text
Diffstat (limited to 'text-regex.h')
| -rw-r--r-- | text-regex.h | 1 |
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); |
