Provides filtering of strings vai inclusion/exclusion lists of prefixes. More...
#include <prefix_filter.h>
value matches a prefix in included_prefixes, but doesn't match a prefix in excluded_prefixes. Provides filtering of strings vai inclusion/exclusion lists of prefixes.
Definition at line 19 of file prefix_filter.h.
Definition at line 18 of file prefix_filter.cpp.
Return true iff value matches a prefix in included_prefixes, but doesn't match a prefix in excluded_prefixes.
An empty vector of included_prefixes is treated as 'match all'. An empty vector of excluded_prefixes is treated as 'match nothing'.
Definition at line 26 of file prefix_filter.cpp.
Definition at line 34 of file prefix_filter.h.
Definition at line 33 of file prefix_filter.h.