Skip to content

Commit

Permalink
Fixed Scientific Notation Regexp and Null Literal alias.
Browse files Browse the repository at this point in the history
  • Loading branch information
yewscion committed Aug 5, 2022
1 parent 97d7f4c commit 86745d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/prism-bqn.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Prism.languages.bqn = {
alias: 'namespace'
},
'word-number-scientific': {
pattern: /\d+(?:\.\d+)?[e|E]¯?\d+/,
pattern: /\d+(?:\.\d+)?[eE]¯?\d+/,
alias: 'number'
},
'word-name': {
Expand All @@ -45,7 +45,7 @@ Prism.languages.bqn = {
},
'null-literal': {
pattern: /@/,
alias: 'string'
alias: 'char'
},
'primitive-functions': {
pattern: /[-+×÷⋆√⌊⌈|¬∧∨<>≠=≤≥≡≢⊣⊢⥊∾≍⋈↑↓↕«»⌽⍉/⍋⍒⊏⊑⊐⊒∊⍷⊔!]/,
Expand Down
2 changes: 1 addition & 1 deletion components/prism-bqn.min.js

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

0 comments on commit 86745d0

Please sign in to comment.