From 09ec7b6b0aaa542a11edaf3e237207660466e929 Mon Sep 17 00:00:00 2001 From: Jie Fu Date: Sat, 12 Apr 2025 20:15:48 +0800 Subject: [PATCH] Fix syntaxWarning: invalid escape sequence '\s' Signed-off-by: Jie Fu --- vllm/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vllm/utils.py b/vllm/utils.py index 0fa3384aa090..c2aad04941b8 100644 --- a/vllm/utils.py +++ b/vllm/utils.py @@ -1233,8 +1233,8 @@ def _split_lines(self, text, width): 3. Each line is wrapped to the specified width (width of terminal). """ # The patterns also include whitespace after the newline - single_newline = re.compile("(?