Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
JS stack trace: Added missing boundary assertion (#3117)
  • Loading branch information
RunDevelopment committed Oct 5, 2021
1 parent cfb2e78 commit 23d9aec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/prism-jsstacktrace.js
Expand Up @@ -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': /\./
Expand Down
2 changes: 1 addition & 1 deletion components/prism-jsstacktrace.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 23d9aec

Please sign in to comment.