diff --git a/main.js b/main.js
index dbae67e..8bd5853 100644
--- a/main.js
+++ b/main.js
@@ -2174,7 +2174,7 @@ function applycolors()
}
else if (code)
{
- line = line.replace(/(\d+)/g, "$1");
+ line = line.replace(/\b(\d+)\b/g, "$1");
if (languagekeywords[language])
{
var keywords = languagekeywords[language];