Applies to FileEventInclusionPaths and FileEventExclusionPaths preference fields.
Changes the regex evaluation logic to scan through the file path searching for where the regular expression pattern produces a match.
Fuzzy searching is case-insensitive when matching and does not require the first part of the path to match the regular expression.
Note: Forward slashes and spaces in file paths should not be escaped when defining inclusion paths in the preference file.
To Enable Fuzzy-mode Regex Filtering
Fuzzy Regex Matching Example
FileEventInclusionPaths defined in plist (with fuzzy match enabled)
<key>FileEventInclusionPaths</key> <array> <string>Doc</string> <string>\.app</string> </array> </key>
Evaluation strings below, each line is a different event
Highlighted portions means a match and event will be logged.
/Users/joe/Documents/big text document.pdf