On Wed, 28 Jul 2010, Eric Schulte wrote:
Thanks Chuck,
I've just swapped in your new and improved regexp.
I share your concern both that there could be cases where prompts aren't
matched, or more seriously where the actual output looks like a prompt
(e.g. user returns a prompt-like string).
B
Thanks Chuck,
I've just swapped in your new and improved regexp.
I share your concern both that there could be cases where prompts aren't
matched, or more seriously where the actual output looks like a prompt
(e.g. user returns a prompt-like string).
Before taking this explicit prompt removal ap
Eric,
In ob-R.el, changing this
(if (string-match "^\\([ >]+\\)\\[[0-9]+\\]" line)
to this
(if (string-match "^\\([ ]*[>+][ ]?\\)+\\([[0-9]+\\|[ ]\\)" line)
seems to fix things (note I added plus sign which is the continuation
prompt in R).
I tried it on a bunch of var