diff --git a/pythonx/jedi_vim.py b/pythonx/jedi_vim.py index 756f665..f0733bd 100644 --- a/pythonx/jedi_vim.py +++ b/pythonx/jedi_vim.py @@ -226,7 +226,7 @@ def completions(): if vim.eval('a:findstart') == '1': count = 0 for char in reversed(vim.current.line[:column]): - if not re.match('[\w\d]', char): + if not re.match(r'[\w\d]', char): break count += 1 vim.command('return %i' % (column - count))