##// END OF EJS Templates
Added comment about possibly clearer regexp.
Eric O. LEBIGOT (EOL) -
Show More
@@ -389,6 +389,7 b' def classic_prompt():'
389 389 def ipy_prompt():
390 390 """Strip IPython's In [1]:/...: prompts."""
391 391 # FIXME: non-capturing version (?:...) usable?
392 # FIXME: r'^(In \[\d+\]: | {3}\.{3,}: )' clearer?
392 393 prompt_re = re.compile(r'^(In \[\d+\]: |\ \ \ \.\.\.+: )')
393 394 return _strip_prompts(prompt_re)
394 395
General Comments 0
You need to be logged in to leave comments. Login now