#include "miscutil.h"
#include "errlog.h"
#include "parsers.h"
+#include "urlmatch.h"
struct client_specific_tag
{
for (tag = tags->first; tag != NULL; tag = tag->next)
{
- if (0 == regexec(pattern->pattern.tag_regex, tag->str, 0, NULL, 0))
+ if (regex_matches(pattern->pattern.tag_regex, tag->str))
{
log_error(LOG_LEVEL_TAGGING, "Client tag '%s' matches.", tag->str);
return 1;