Skip to content

Commit

Permalink
Fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
marcuslimdw committed Jan 31, 2024
1 parent b7f8ab3 commit d674343
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def _hydrate_span_from_args(connection, query, parameters) -> dict:

class AsyncPGInstrumentor(BaseInstrumentor):

_leading_comment_remover = re.compile(r"/\*.*?\*/")
_leading_comment_remover = re.compile(r"^/\*.*?\*/")

def __init__(self, capture_parameters=False):
super().__init__()
Expand Down

0 comments on commit d674343

Please sign in to comment.