Skip to content

Commit eee5ed5

Browse files
committed
add $
1 parent b25fdb4 commit eee5ed5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sentry_sdk/integrations/gnu_backtrace.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@
1111
from typing import Any
1212
from sentry_sdk._types import Event
1313

14-
14+
# function is everything between index at @
15+
# and then we match on the @ plus the hex val
1516
FUNCTION_RE = r"[^@]+?)\s+@\s+0x[0-9a-fA-F]+"
1617

1718
FRAME_RE = r"""
18-
^(?P<index>\d+)\.\s+(?P<function>{FUNCTION_RE}(?:\s+in\s+(?P<package>.+))?
19+
^(?P<index>\d+)\.\s+(?P<function>{FUNCTION_RE}(?:\s+in\s+(?P<package>.+))?$
1920
""".format(
2021
FUNCTION_RE=FUNCTION_RE,
2122
)

0 commit comments

Comments
 (0)