}
/* and check if one of the tag patterns matches the tag, */
- if (0 == regexec(b->url->pattern.tag_regex, tag, 0, NULL, 0))
+ if (regex_matches(b->url->pattern.tag_regex, tag))
{
/* if it does, update the action bit map, */
if (merge_current_action(csp->action, b->action))
}
for (tag = csp->tags->first; NULL != tag; tag = tag->next)
{
- if (0 == regexec(b->url->pattern.tag_regex, tag->str, 0, NULL, 0))
+ if (regex_matches(b->url->pattern.tag_regex, tag->str))
{
/*
* The pattern matches at least one tag, thus the action
return "client-header tagger";
case FT_SERVER_HEADER_TAGGER:
return "server-header tagger";
-#ifdef FEATURE_EXTERNAL_FILTERS
- case FT_EXTERNAL_CONTENT_FILTER:
- return "external content filter";
-#endif
case FT_SUPPRESS_TAG:
return "suppress tag filter";
case FT_CLIENT_BODY_FILTER:
return "client body filter";
+ case FT_CLIENT_BODY_TAGGER:
+ return "client body tagger";
+ case FT_ADD_HEADER:
+ return "add-header action";
+#ifdef FEATURE_EXTERNAL_FILTERS
+ case FT_EXTERNAL_CONTENT_FILTER:
+ return "external content filter";
+#endif
case FT_INVALID_FILTER:
return "invalid filter type";
}