Softwrap on regular expressions would be nice


I’m working a lot with EDIFACT messages. These EDIFACT messages are usually a long stream. But a line break after a quote make it a lot more readable. Same feature could be used for making long c/c++ lines (divided by semicolon) more readable.
Currently i have a workaround by replacing [^?]’ with $1\n what will work but the replacement will change the data and i have to keep in mind that i have to revert it at the end.

I have not found any editor with this feature.


This is kind of a specialized version of this idea I had a while back: