mirror of
https://github.com/vale981/highlight-lisp
synced 2025-03-04 17:01:38 -05:00
gah forgot to add back in +- in ints
This commit is contained in:
parent
1425f39d3f
commit
208ed30fdb
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ var highlight_lisp = function() {
|
|||
// float
|
||||
{regex: /([\s()])([+-]?(?:\d+\.\d+|\d+\.|\.\d+))(?=[\s()])/g, replace: '$1<span class="number float">$2</span>'},
|
||||
// integers
|
||||
{regex: /([\s()])(\d+)(?=[\s()])/g, replace: '$1<span class="number integer">$2</span>'},
|
||||
{regex: /([\s()])([+-]?\d+)(?=[\s()])/g, replace: '$1<span class="number integer">$2</span>'},
|
||||
|
||||
// ---------------------------------------------------------------------
|
||||
// misc parsers
|
||||
|
|
Loading…
Add table
Reference in a new issue