Skip to content

Commit

Permalink
Merge pull request #3614 from hsyan2008/master
Browse files Browse the repository at this point in the history
fix the escape issue with python 3.12.0
  • Loading branch information
bhcleek committed Dec 23, 2023
2 parents e8c1805 + e1731d0 commit 7410dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gosnippets/UltiSnips/go.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ import re
def return_values(s):
# remove everything wrapped in parentheses
s = re.sub("\(.*?\)|\([^)]*$", "", s)
s = re.sub(r"\(.*?\)|\([^)]*$", "", s)
return len(s.split(","))
def opening_par(snip, pos):
Expand Down

0 comments on commit 7410dd6

Please sign in to comment.