Ignor regex exclude not working
See original GitHub issueI try to ignore all exclude example.com and use command:
./mitmproxy --ignore-hosts '^(?!example\.com)' --mode transparent
Mitmproxy: 3.0.3 binary
Python: 3.5.2
OpenSSL: OpenSSL 1.1.0g 2 Nov 2017
But not work 😦 Can you help me tanks.
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
How to exclude a specific string constant? - regex
This will work if you're looking for a string that does not include ABC. But is that the goal? Or is the goal...
Read more >Basic Regular Expressions: Exclusions
To match any character except a list of excluded characters, put the excluded charaters between [^ and ] . The caret ^ must...
Read more >How to exclude Test files From Searches in VS Code?
Search in VS Code doesn't utilize regex in excluding files (see open issue). It is configured with glob patterns.
Read more >Find command Exclude or Ignore Files (e.g. Ignore All Hidden ...
Explains how to find and ignore ( exclude) certain files while using UNIX / Linux / BSD find command such as all hidden...
Read more >Exclude or filter files using file type and regular expressions ...
Even though the exclusion isn't specified for Set B, MP3s from this set will not back up to the external hard drive. Common...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I stacked to ignore all but NOT ip
--ignore-hosts '(?![0-9\.]+:)'
Don’t work. Please help me 👍The regex in #2994 matches on everything that’s not example.com
(?!example.com)
and not an IP address(?![0-9\.]+:)
. I guess you have to fiddle a bit with some regex tools to adjust this to your needs. 😃