An unanswered question: is it OK to add code to quote '_' etc. in
InsetCommand::asLyXCommand() so the user doesn't have to ?

I would like (for this purpose) to add LRegExp::replace(pattern, replacement) :

regexp.replace("[^\\]_", "\\_");

What other chars need to be escaped ?

thanks
john

-- 
"Faced with the prospect of rereading this book, I would rather have 
 my brains ripped out by a plastic fork."
        - Charles Cooper on "Business at the Speed of Thought" 

Reply via email to