Skip to content

Commit

Permalink
#56, try fix regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
abbat committed Sep 23, 2024
1 parent ae54e45 commit c73d678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ydcmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -2631,7 +2631,7 @@ def yd_print_usage(cmd = None):

args = []
config = yd_load_config(cfgfile)
regexp = re.compile("^--(\\S+?)(=(.*)){,1}$")
regexp = re.compile(r"^--(\S+?)(=(.*)){,1}$")
for i in range(1, argc):
arg = sys.argv[i]
opt = regexp.split(arg)
Expand Down

0 comments on commit c73d678

Please sign in to comment.