> 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!