Skip to content

Commit

Permalink
added comment for regex pattern in split_list_arg()
Browse files Browse the repository at this point in the history
  • Loading branch information
rjwignar committed Dec 7, 2023
1 parent fee86da commit d4653f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions run-clang-format.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ def split_list_arg(arg):
Otherwise it is returned unchanged
Workaround for GHA not allowing list arguments
"""
# pattern matches all whitespaces except those preceded by a backslash, '\'
pattern = r'(?<!\\)\s+'
# if len(arg) == 1:
# # split list by regex
Expand Down

0 comments on commit d4653f9

Please sign in to comment.