libfswatch  1.9.3
Path Filtering

A path filter (fsw::monitor_filter) can be used to filter event paths. A filter type (fsw_filter_type) determines whether the filter regular expression is used to include and exclude paths from the list of the events processed by the library. libfswatch processes filters this way:

Said another way: