fix: PromptHighlight "number" regex to exlude numbers before words

pull/466/head
kaalibro 2023-11-23 18:57:06 +06:00
parent ea7a3bff0f
commit 22a10fc24a
No known key found for this signature in database
2 changed files with 48 additions and 48 deletions

File diff suppressed because one or more lines are too long

View File

@ -45,7 +45,7 @@
"name": "bracket"
},
{
"match": "(?<!\\w)(\\d*\\.?\\d+|\\.\\d+)",
"match": "(?<!\\w)(\\d*\\.?\\d+|\\.\\d+)(?!\\w)",
"name": "number"
},
{