[IPython-dev] Curly braces stripped from magic input

Thomas Kluyver takowl@gmail....
Sat Aug 31 13:21:18 CDT 2013


On 31 August 2013 10:07, Matt Davis <jiffyclub@gmail.com> wrote:

> Is there any way around this, or do we just have to tell our students to
> use \d{{3,4}} instead of valid regex?


No, I don't think we currently have any way to disable this. You may prefer
to declare regexes in regular Python code rather than within IPython magic
commands.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20130831/a94791ce/attachment.html 


More information about the IPython-dev mailing list