My regex dont work with new version of mitm

Hi!
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.
example:
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 https://github.com/mitmproxy/mitmproxy/issues please? :slight_smile:
Ideally, we’d have a single mitmproxy command (as you posted it here) with a curl invocation that reproduces the issue.

Thanks!

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