Add missing match/exclude functionality to tee

The tee filter was missing the match/exclude functionality that was in the
previous implementation. The filter was upgraded to use PCRE2 regular
expressions instead of POSIX regular expressions.

Documented that the match/exclude patterns should use PCRE2 syntax.
This commit is contained in:
Markus Mäkelä
2017-06-20 13:36:53 +03:00
parent 50b2316fa7
commit 77f44ba92b
7 changed files with 164 additions and 102 deletions

View File

@ -15,6 +15,6 @@ file.
### Regular Expression Parameters
Modules may now use a built-in regular expression string parameter type instead
of a normal string when accepting patterns. The only module using the new regex
parameter type is currently *QLAFilter*. When inputting pattern, enclose the
of a normal string when accepting patterns. The modules that use the new regex
parameter type are *qlafilter* and *tee*. When inputting pattern, enclose the
string in slashes, e.g. `match=/^select/` defines the pattern `^select`.