[IPython-dev] Curly braces stripped from magic input

Thomas Kluyver takowl at gmail.com
Sat Aug 31 14:21:18 EDT 2013


On 31 August 2013 10:07, Matt Davis <jiffyclub at 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.python.org/pipermail/ipython-dev/attachments/20130831/a94791ce/attachment.html>


More information about the IPython-dev mailing list