diff --git a/src/languages/java.js b/src/languages/java.js index a73e9bf5c6..395a80d86a 100644 --- a/src/languages/java.js +++ b/src/languages/java.js @@ -42,7 +42,7 @@ export default function(hljs) { regex.either( regex.concat(SEQUENCE_ALLOWING_UNDERSCORES('a-fA-F0-9'), /\./, SEQUENCE_ALLOWING_UNDERSCORES('a-fA-F0-9')), regex.concat(SEQUENCE_ALLOWING_UNDERSCORES('a-fA-F0-9'), /\.?/), - regex.concat(/\./, SEQUENCE_ALLOWING_UNDERSCORES('a-fA-F0-9')), + regex.concat(/\./, SEQUENCE_ALLOWING_UNDERSCORES('a-fA-F0-9')) ), /([pP][+-]?(\d+))?/, /[fFdDlL]?/ // decimal & fp mixed for simplicity