Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
config:filter_files [2023/12/17 23:19] – [Filter Files] Details about tabs and metadata in .can files digital man | config:filter_files [2023/12/18 19:51] (current) – [Filter Files] Note about file must end in LF digital man | ||
---|---|---|---|
Line 3: | Line 3: | ||
Filter configuration ('' | Filter configuration ('' | ||
- | Each line in a filter file may contain a comparison pattern. | + | Each line in a filter file may contain a comparison pattern. |
- | A tab (ASCII 9) character or a new-line (CR or CRLF) sequence will terminate (signify the end of) the comparison pattern. All characters between the first tab character and the new-line sequence may be considered metadata for the comparison pattern. | + | A tab (ASCII 9) character or a new-line (CR or CRLF) sequence will terminate (signify the end of) each comparison pattern. All characters between the first tab character and the new-line sequence may be considered metadata for the comparison pattern. |
+ | To support the correct auto-addition of filters, it's important that **all comparison patterns end in a new-line sequence** (i.e. a non-empty file must end with an LF character). | ||
===== Comparison Patterns ===== | ===== Comparison Patterns ===== | ||
* Leading white-space characters are ignored | * Leading white-space characters are ignored | ||
Line 67: | Line 68: | ||
|'' | |'' | ||
|'' | |'' | ||
+ | |||
+ | **New in Synchronet v3.20:**\\ | ||
+ | Comparison patterns in '' | ||
+ | ^ Key ^ Description | ||
+ | |'' | ||
+ | |'' | ||
+ | |'' | ||
+ | |'' | ||
+ | |'' | ||
+ | |'' | ||
===== Other Filter Files ===== | ===== Other Filter Files ===== |