Skip to content

Commit

Permalink
Update regex
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewrites committed Aug 9, 2023
1 parent 8046103 commit 3b02c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tdvt/tdvt/setup_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def mangle_tds(file_path, connection_password_name):
try:
r1 = re.compile('(^\s*<named-connection .*? name=\').*?(\'>)')
r2 = re.compile('(^\s*<.*relation connection=\').*?(\' .*>)')
r3 = re.compile('(^\s*<connection .*?).*?(\' .*>)')
r3 = re.compile('(^\s*<connection .*?)(\s*/>)')

f = open(file_path, 'r')
new_tds = ''
Expand Down

0 comments on commit 3b02c7c

Please sign in to comment.