Skip to content

Commit

Permalink
JavaStackTrace: Removed unreachable parts of regexes (#3219)
Browse files Browse the repository at this point in the history
  • Loading branch information
RunDevelopment authored Dec 5, 2021
1 parent f41bcf2 commit fa55492
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/prism-javastacktrace.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ Prism.languages.javastacktrace = {
pattern: /^(:?\s*)[\w$.]+(?=:|$)/,
lookbehind: true,
inside: {
'class-name': /[\w$]+(?=$|:)/,
'class-name': /[\w$]+$/,
'namespace': /\b[a-z]\w*\b/,
'punctuation': /[.:]/
'punctuation': /\./
}
},
'message': {
Expand Down
2 changes: 1 addition & 1 deletion components/prism-javastacktrace.min.js

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

0 comments on commit fa55492

Please sign in to comment.