We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7340f22 commit 8e52120Copy full SHA for 8e52120
lib/index.js
@@ -39,7 +39,7 @@ const highlighters = [
39
},
40
{
41
name: 'number',
42
- regex: /((?<![a-zA-z])\d+(?:\.\d+)?)/g
+ regex: /(\b\d+(?:\.\d+)?)/g
43
44
45
name: 'string',
0 commit comments