diff --git a/python/ycm/tests/test_utils.py b/python/ycm/tests/test_utils.py index 015856cb..5a1086f0 100644 --- a/python/ycm/tests/test_utils.py +++ b/python/ycm/tests/test_utils.py @@ -37,30 +37,30 @@ import sys from ycmd.utils import GetCurrentDirectory, ToBytes, ToUnicode -BUFNR_REGEX = re.compile( '^bufnr\(\'(?P.+)\', ([01])\)$' ) -BUFWINNR_REGEX = re.compile( '^bufwinnr\((?P[0-9]+)\)$' ) +BUFNR_REGEX = re.compile( '^bufnr\\(\'(?P.+)\', ([01])\\)$' ) +BUFWINNR_REGEX = re.compile( '^bufwinnr\\((?P[0-9]+)\\)$' ) BWIPEOUT_REGEX = re.compile( '^(?:silent! )bwipeout!? (?P[0-9]+)$' ) GETBUFVAR_REGEX = re.compile( - '^getbufvar\((?P[0-9]+), "(?P