<div dir="ltr">Hi all,<div><br></div><div>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 <a href="http://nbviewer.ipython.org/6399267">http://nbviewer.ipython.org/6399267</a>.</div>
<div><br></div><div>It looks like the input is being sent through .format or some Jinja formatting because sending in {{ }} results in { }.</div><div><br></div><div>Advice appreciated.</div><div><br></div><div>Thanks,</div>
<div>Matt & Greg</div></div>