Tracked files file path regex not escaped properlyDescriptionThe logic for getting tracked files may not properly escape some characters. For exemple, one of the IIS tracked files file path is: $install_directory + "\*.config" From the above, we would expect only files where the name ends with ".config" to be picked up. However, if the $install_directory has a folder named "Config", without a dot, that would be picked up as well. This is because the "." is not escaped and in a regex a "." has a special meaning. Replacing the file path with "\*\.config" does not resolve the issue.Steps to Reproduce On a Windows server, navigate to a folder (ex. c:/temp) and then create at least 2 of the following files Create a file/folder where name just has config in it (ex. myconfig)Create a file that ends with .config (ex. myFile.config) In the Windows OS - Servers pattern, in the "Tracked Files" tab, create a new Tracked Files definition like so: CI Type: Windows ServerFile Path: "C:\temp\*.config"Save Content: TrueActive: True Run a Discovery (with patterns) against this Windows Server where you created the files from step 1Check the pattern discovery log and inside the "File Tracking" section, you should see some results like below 2021-06-01 13:18:06: Executing WMI command on host: 192.168.75.138, command: dir "C:\temp" /s /b | findstr /I /R /C:"\<.*.config$"2021-06-01 13:18:06: Command result:C:\temp\myconfigC:\temp\myFile.config Expectation: We should only be getting the files that end with (or contain) .configActual Result: We are getting any files/folders that has the word "config" in itWorkaroundUpgrade to a version where this problem is fixed.Related Problem: PRB1501803