Skip to content

Commit

Permalink
J: Made comments greedy (#3215)
Browse files Browse the repository at this point in the history
  • Loading branch information
RunDevelopment committed Dec 5, 2021
1 parent 0a9f909 commit 5af1601
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion components/prism-j.js
@@ -1,5 +1,8 @@
Prism.languages.j = {
'comment': /\bNB\..*/,
'comment': {
pattern: /\bNB\..*/,
greedy: true
},
'string': {
pattern: /'(?:''|[^'\r\n])*'/,
greedy: true
Expand Down
2 changes: 1 addition & 1 deletion components/prism-j.min.js

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

0 comments on commit 5af1601

Please sign in to comment.