Skip to content
Permalink
Browse files
JS stack trace: Added missing boundary assertion (#3117)
  • Loading branch information
RunDevelopment committed Oct 5, 2021
1 parent cfb2e78 commit 23d9aec1c34a5e28f2230c555811ef311ec81181
Showing with 2 additions and 2 deletions.
  1. +1 −1 components/prism-jsstacktrace.js
  2. +1 −1 components/prism-jsstacktrace.min.js
@@ -20,7 +20,7 @@ Prism.languages.jsstacktrace = {
},

'function': {
pattern: /(at\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,
pattern: /(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,
lookbehind: true,
inside: {
'punctuation': /\./

Some generated files are not rendered by default. Learn more.

0 comments on commit 23d9aec

Please sign in to comment.