If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to REGISTER before you can post. To start viewing messages, select the forum that you want to visit from the selection below.
All of a sudden my filter for excluding drives from being monitored is no longer working. No changes made that I am aware of. Is this syntax not correct?
Your regex looks weird, so please test it with f.ex. https://regex101.com/ if it does what you want it to do.
If you happen to want it to match with everything but strings starting with P or X (just guessing here), then "^[^PX]" would be my attempt, which means "start of string and then anything but P or X".
Wouldn't it be easier to do "not matches" and either "^P|^X" or "^[PX]"? or as Markku suggested, matches "^[^PX]
Current one does a bit more than expected, I think. It excludes everything that starts with P or | or ^ or X in the beginning of a line.
Comment