Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…eiver-HA into main
  • Loading branch information
cyberjunky committed Jul 16, 2021
2 parents 6946568 + 76dc26b commit 9d0137a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,15 +324,17 @@ ignore_text.txt
ignore_capcodes.txt


Type of filtering is ignored if a file is empty or only has commented line in it (leading with a #)
A specific type of filtering is ignored if the file is empty or only has commented lines in it. (lines with leading #)

The syntax for match_text and ignore_text is using fnmatch.
The syntax for *match_text.txt* and *ignore_text.txt* is using fnmatch.

https://docs.python.org/3/library/fnmatch.html

So entries need to match whole message exactly, or use wildcards to match parts of it.

This is the order in which they are processed:
While *ignore_capcodes.txt* and *match_capcodes.txt* use the exact capcode (9 chars long), description is not used in code

This is the order in which the filters are processed:

![View](/screenshots/filters.png)

Expand Down

0 comments on commit 9d0137a

Please sign in to comment.