From 329a808baefc51e98c9364f4270d0a2952c20760 2012-05-31 20:08:20 From: Matthias BUSSONNIER Date: 2012-05-31 20:08:20 Subject: [PATCH] allow number in tokens --- diff --git a/IPython/frontend/html/notebook/static/js/completer.js b/IPython/frontend/html/notebook/static/js/completer.js index 95f5033..6984ac8 100644 --- a/IPython/frontend/html/notebook/static/js/completer.js +++ b/IPython/frontend/html/notebook/static/js/completer.js @@ -40,7 +40,7 @@ var IPython = (function(IPython ) { this.cell = cell; this.editor = cell.code_mirror; // if last caractere before cursor is not in this, we stop completing - this.reg = /[A-Za-z.]/; + this.reg = /[0-9a-z.]/i; // casse insensitive } Completer.prototype.kernelCompletionRequest = function(){