We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e239a85 + 48f0a70 commit fda0caeCopy full SHA for fda0cae
lib/datadog/appsec/actions_handler/serializable_backtrace.rb
@@ -11,7 +11,7 @@ module ActionsHandler
11
#
12
# It represents the stack trace that is added to span metastruct field.
13
class SerializableBacktrace
14
- CLASS_AND_FUNCTION_NAME_REGEX = /\b([\w+:{2}]*\w+)?[#|.]?\b(\w+)\z/.freeze
+ CLASS_AND_FUNCTION_NAME_REGEX = /\b((?:\w+::)*\w+)?[#.]?\b(\w+)\z/.freeze
15
16
def initialize(locations:, stack_id:)
17
@stack_id = stack_id
0 commit comments