diff options
author | João Valverde <j@v6e.pt> | 2021-11-12 15:55:14 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2021-11-14 21:00:59 +0000 |
commit | 274531820acac7879dbd414d7b03754463234676 (patch) | |
tree | a58c5dc9fc5fc08c438360f2e2580dfdfa7192eb /epan/ftypes/ftype-string.c | |
parent | b9f2e4b7fa091719b93f6256ac34be8e32bd8e94 (diff) |
Move regex code to wsutil
Diffstat (limited to 'epan/ftypes/ftype-string.c')
-rw-r--r-- | epan/ftypes/ftype-string.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/ftypes/ftype-string.c b/epan/ftypes/ftype-string.c index 97316eb660..0afe5fdd8a 100644 --- a/epan/ftypes/ftype-string.c +++ b/epan/ftypes/ftype-string.c @@ -124,14 +124,14 @@ cmp_contains(const fvalue_t *fv_a, const fvalue_t *fv_b) } static gboolean -cmp_matches(const fvalue_t *fv, const fvalue_regex_t *regex) +cmp_matches(const fvalue_t *fv, const ws_regex_t *regex) { char *str = fv->value.string; if (! regex) { return FALSE; } - return fvalue_regex_matches(regex, str, -1); + return ws_regex_matches(regex, str, -1); } void |