Skip to content

Commit d4653f9

Browse files
committed
added comment for regex pattern in split_list_arg()
1 parent fee86da commit d4653f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

run-clang-format.py

+1
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ def split_list_arg(arg):
257257
Otherwise it is returned unchanged
258258
Workaround for GHA not allowing list arguments
259259
"""
260+
# pattern matches all whitespaces except those preceded by a backslash, '\'
260261
pattern = r'(?<!\\)\s+'
261262
# if len(arg) == 1:
262263
# # split list by regex

0 commit comments

Comments
 (0)