summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cregex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cregex.c b/src/cregex.c
index d1f9c133..690c9ad5 100644
--- a/src/cregex.c
+++ b/src/cregex.c
@@ -1218,8 +1218,8 @@ cregex_find(const char* input, const cregex* re,
}
}
-int cregex_find_p(const char* input, const char* pattern,
- csview match[], int cmflags) {
+int cregex_find_pt(const char* input, const char* pattern,
+ csview match[], int cmflags) {
cregex re = cregex_init();
int res = cregex_compile(&re, pattern, cmflags);
if (res != cre_success) return res;