My regex dont work with new version of mitm

Python 3.5.2 and mitmproxy 0.18.1 installed

When im using ~s to use regex all http websites and some https do not open.
mitmproxy -T —port 8081 —replace :~s:content:replace

In previous versions such as 0.17 and later it works fine.
Something wrong with my regex?or syntax has changed within python greater version?

What you are describing looks like a bug. Could you lodge an issue at please? :slight_smile:
Ideally, we’d have a single mitmproxy command (as you posted it here) with a curl invocation that reproduces the issue.


Thank you, I really thought that something was wrong.
I left the issue message.