From b6922a4c5ac2f6a423bd901aa0ec102cadc72b0c Mon Sep 17 00:00:00 2001 From: Harvey Date: Fri, 29 Dec 2023 15:52:57 +0800 Subject: [PATCH] fix the escape issue with python 3.12.0 --- UltiSnips/java.snippets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UltiSnips/java.snippets b/UltiSnips/java.snippets index 55883a365..9c7ed8208 100644 --- a/UltiSnips/java.snippets +++ b/UltiSnips/java.snippets @@ -21,7 +21,7 @@ def nl(snip): snip.rv += " " def getArgs(group): import re - word = re.compile('[a-zA-Z0-9><.]+ \w+') + word = re.compile(r'[a-zA-Z0-9><.]+ \w+') return [i.split(" ") for i in word.findall(group) ] def camel(word):