summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-08-09 08:56:41 +0200
committerTyge Løvset <[email protected]>2022-08-09 08:56:41 +0200
commitfb7ca13856348182b4071135cce82075f9b95e6d (patch)
treec4ed4c905c68faacae22703e121c27f5cc7673bd /src
parent2df3fb58bb21be5afcfa78fd0b5d1aee033ebe9e (diff)
downloadSTC-modified-fb7ca13856348182b4071135cce82075f9b95e6d.tar.gz
STC-modified-fb7ca13856348182b4071135cce82075f9b95e6d.zip
Small API change for V4.0:
Renamed cregex_find_p() => cregex_find_pt() // pattern Renamed cregex_replace_p() => cregex_replace_pt() // pattern
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;