Skip to content

Commit

Permalink
Fix compatibility with Ruby 3.4-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
k0kubun authored and imjoehaines committed Mar 15, 2024
1 parent 27beed6 commit 9eff896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bugsnag/stacktrace.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module Bugsnag
module Stacktrace
# e.g. "org/jruby/RubyKernel.java:1264:in `catch'"
BACKTRACE_LINE_REGEX = /^((?:[a-zA-Z]:)?[^:]+):(\d+)(?::in `([^']+)')?$/
BACKTRACE_LINE_REGEX = /^((?:[a-zA-Z]:)?[^:]+):(\d+)(?::in [`']([^']+)')?$/

# e.g. "org.jruby.Ruby.runScript(Ruby.java:807)"
JAVA_BACKTRACE_REGEX = /^(.*)\((.*)(?::([0-9]+))?\)$/
Expand Down

0 comments on commit 9eff896

Please sign in to comment.