diff --git a/IPython/frontend/html/notebook/static/js/completer.js b/IPython/frontend/html/notebook/static/js/completer.js
index 1e2a287..ac2d95c 100644
--- a/IPython/frontend/html/notebook/static/js/completer.js
+++ b/IPython/frontend/html/notebook/static/js/completer.js
@@ -104,7 +104,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;
}