diff --git a/IPython/html/static/notebook/js/cell.js b/IPython/html/static/notebook/js/cell.js
index 002f36c66..a9b7fe4b0 100644
--- a/IPython/html/static/notebook/js/cell.js
+++ b/IPython/html/static/notebook/js/cell.js
@@ -566,10 +566,12 @@ define([
var regs = modes[mode].reg;
// only one key every time but regexp can't be keys...
for(var i=0; i