From b8cf4d15256b2a6e4f1d6d9141fc7a3729dd7f9d 2013-08-08 09:19:13 From: Matthias BUSSONNIER Date: 2013-08-08 09:19:13 Subject: [PATCH] complete on % for magic in notebook fixes #3954 --- diff --git a/IPython/html/static/notebook/js/completer.js b/IPython/html/static/notebook/js/completer.js index 5386a4a..ff7df19 100644 --- a/IPython/html/static/notebook/js/completer.js +++ b/IPython/html/static/notebook/js/completer.js @@ -102,7 +102,7 @@ var IPython = (function (IPython) { // we need to check that we are still on a word boundary // because while typing the completer is still reinvoking itself - if (!/[0-9a-z._/\\:~-]/i.test(pre_cursor)) { + if (!/[%0-9a-z._/\\:~-]/i.test(pre_cursor)) { this.close(); return; }