@Ian P: I've attached a new version of ex.e for v17.0.1 that has an altered implementation of the Vim ex command line substitution commands. It should handle line endings and different regular expression types much better, and more consistently. I'd like for you to load it into your SE v17.0.1 and try it out, if you could. Hammer command line Vim substitutions and/or replaces as much as you can
. Let me know if it fixes your particular issue(s) and if you have any other problems with it.
@davew: This is a different problem...this never worked in SE, I tested in v16.0.3 hotfixed just to be sure. The issue is that the way the Vim ex command line substitution is implemented, which goes line by line. Thus, if you are to specify a regex which spans multiple lines, this isn't going to work. I've filed a bug report for this and we need to be able to detect multiline regex searches/substitutions so that we can support these. But in short, this particular case you've posted is a different issue and isn't addressed by the attached version of ex.e. Hopefully we can get this support in for v17.0.2.