Skip to content

Commit

Permalink
highlight fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfriend99 committed Feb 11, 2025
1 parent ad241fc commit 5886fc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/nyssa/.blade/libs/highlight.b
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def highlight_blade(text, classes) {
replace('/\\b(${constant_keywords})\\b/', '<_c>$1</_c>').

# numbers
replace('/(([0-9][0-9]*\.[0-9]+([eE][0-9]+)?[fd]?)|(0x[0-9a-fA-F]+)|(0c[0-7][0-7]*)|(0b[01][01]*)|([0-9]+))/', '<_n>$1</_n>').
replace('/\\b(([0-9][0-9]*\.[0-9]+([eE][0-9]+)?[fd]?)|(0x[0-9a-fA-F]+)|(0c[0-7][0-7]*)|(0b[01][01]*)|([0-9]+))\\b/', '<_n>$1</_n>').

# functions
# property/method call and access
Expand Down

0 comments on commit 5886fc8

Please sign in to comment.