On 02/26/2016 11:29 AM, Raphaël Proust wrote:
I find the supposed
“transparency” of changes in a group is often buggy. I.e., when using
something like
,x/<some-reg-exp/{i/\\texttt\{
a/\}
}
it often messes up and I end up using the less elegant
`,x/<some-reg-exp/s/.*/\\texttt\{&\}/`

I got it to work for me:
cat test | ssam ',x/start/ { i/\\texttt{/
a/}/
}'

Apparently there is no need to backslash-escape the braces since they are arguments to add or insert. Also, the forward slashes at the end of the insert and add commands which I put in seem to be optional, presumably since the newline ends the commands.

Reply via email to