aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--text-regex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/text-regex.h b/text-regex.h
index c18caa3..3ace3de 100644
--- a/text-regex.h
+++ b/text-regex.h
@@ -8,8 +8,8 @@ typedef struct Regex Regex;
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_compile(Regex*, const char *pattern, int cflags);
+void text_regex_free(Regex*);
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);