question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ignor regex exclude not working

See original GitHub issue

I 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:closed
  • Created 5 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
jarorgcommented, Mar 25, 2018

I stacked to ignore all but NOT ip --ignore-hosts '(?![0-9\.]+:)' Don’t work. Please help me 👍

0reactions
mhilscommented, Mar 25, 2018

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. 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found