> Edit , x/^[^ ]+[ ]*[^(]*\([^)]*\)[ ]*\{[ ]*\n/ s/[ ]*\{[ ]*\n/\n\{/g

So, it was simply a matter of changing "$" for "\n" at the x command!
How come my command didn't work?
It really should work with the "$", shouldn't it?

Or even without the \n or the $, since the regexp already matched until the
'{',
so the substitution should have worked.

Also, thanks for pointing me that the '\' wasn't actually needed.
Many thanks!



2014-03-31 17:36 GMT+02:00 Mark van Atten <[email protected]>:

> Edit , x/^[^ ]+[ ]*[^(]*\([^)]*\)[ ]*\{[ ]*\n/ s/[ ]*\{[ ]*\n/\n\{/g
>
> Mark.
>
>


-- 
Daniel

Reply via email to