[IPython-dev] Curly braces stripped from magic input
Matt Davis
jiffyclub at gmail.com
Sat Aug 31 12:36:53 EDT 2013
Hi all,
Software Carpentry is working on a magic for the Notebook for learning
regex. It'll take a pattern and some strings and highlight matches. We've
run into a problem because curly braces seem to be stripped from magic
input before it gets to the function. See an example at
http://nbviewer.ipython.org/6399267.
It looks like the input is being sent through .format or some Jinja
formatting because sending in {{ }} results in { }.
Advice appreciated.
Thanks,
Matt & Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20130831/6479ed3c/attachment.html>
More information about the IPython-dev
mailing list