Skip to content

Commit

Permalink
Update regex to add values with spaces also (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
divesh80 authored Jul 30, 2024
1 parent eccefa2 commit 8000739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgsync/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,5 +208,5 @@
r"table\s\"?(?P<schema>[\w-]+)\"?.\"?(?P<table>[\w-]+)\"?:\s(?P<tg_op>[A-Z]+):" # noqa E501
)
LOGICAL_SLOT_SUFFIX = re.compile(
'\s(?P<key>"?\w+"?)\[(?P<type>[\w\s]+)\]:(?P<value>[\w\'"\-\\.\\+]+)'
r'\s(?P<key>"?\w+"?)\[(?P<type>[\w\s]+)\]:(?P<value>[\w\'"\-\\.\\+ ]+)' # noqa E501
)

0 comments on commit 8000739

Please sign in to comment.