We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ed3a73 commit ec4ff7eCopy full SHA for ec4ff7e
pythonx/vimsnippets.py
@@ -14,7 +14,7 @@ def complete(tab, opts):
14
:return: a string that match with tab
15
"""
16
el = [x for x in tab]
17
- pat = "".join(list(map(lambda x: x + "\w*" if re.match("\w", x) else x,
+ pat = "".join(list(map(lambda x: x + r"\w*" if re.match(r"\w", x) else x,
18
el)))
19
try:
20
opts = [x for x in opts if re.search(pat, x, re.IGNORECASE)]
0 commit comments