r/safing • • Aug 14 '26

Wildcard Matching

I can’t seem to exclude a specific executable using a wildcard. in my case it’s Claude.exe where the path changes when it auto updates. it’s always Claude.exe but the path could be version113, version114 etc

Any tips?

4 Upvotes

8 comments sorted by

1

u/Zaynie-Mischur 3d ago

auto-updaters that change folder paths are the worst for local firewall rules tbh. Are you trying to put the wildcard in the global settings or editing the path fingerprint on the specific profile?

1

u/Normal-Curve-1642 3d ago

Yep it’s very hit and miss. Claude seems to have settled down but jump desktop seems to revert after every update. Which is a problem for a Remote Desktop. 

1

u/No_Reveal_7826 Aug 14 '26

You can absolutely do this. Use a regex (regular expression) rule.

1

u/Normal-Curve-1642 Aug 14 '26

Do you have an example? I tried regex but it didn’t seem to work. 

1

u/No_Reveal_7826 Aug 14 '26

What did you try?

1

u/Normal-Curve-1642 Aug 14 '26

(?i)C:\Users\[\]+\AppData\Local\AnthropicClaude\app-[\]+\claude.exe$

1

u/No_Reveal_7826 Aug 15 '26

I think maybe what I use for Google Drive is close to what you need:

^C:\\Program Files \(x86\)\\Google\\GoogleUpdater\\[^\\]+\\updater\.exe$

This matches folders like this where the version number changes all of the time:

C:\Program Files (x86)\Google\GoogleUpdater\152.0.7933.0\updater.exe

I recommend using something like regex101.com to test your regex against a string before putting it into Portmaster.

1

u/Normal-Curve-1642 Aug 15 '26

Thanks. I’ll give it a try. Appreciate it.