Skip to content

Commit

Permalink
fix: use a raw string to prevent invalid escape sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
cizmazia committed Aug 18, 2024
1 parent 723ad73 commit b06d8d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kdbx_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ def pipe(s):


def sample(s):
print(re.sub(r'^(.{4}).*(.{4})$', '\g<1>***\g<2>', s))
print(re.sub(r'^(.{4}).*(.{4})$', r'\g<1>***\g<2>', s))


def ssh_gen():
Expand Down

0 comments on commit b06d8d4

Please sign in to comment.