@@ -25,7 +25,7 @@ contexts:
2525 - include: dates
2626 - include: ip_addresses
2727 - include: numbers
28− - match: \b(?i:fail(?:ure|ed)?|error)\b
28+ - match: \b(?i:fail(?:ure|ed)?|error|exception)\b
2929 scope: invalid.illegal.error.log
3030 #- include: scope:text.html.markdown#autolink-inet
3131 - match: \b\w+:/{2,3}
@@ -41,7 +41,7 @@ contexts:
4141 captures:
4242 1: punctuation.separator.decimal.log
4343 ip_addresses:
44− - match: (?=(?:{{ipv4_part}}\.){3}{{ipv4_part}})
44+ - match: \b(?=(?:{{ipv4_part}}\.){3}{{ipv4_part}}\b)
4545 push:
4646 - meta_scope: meta.ipaddress.v4.log meta.number.integer.decimal.log
4747 - match: \d+
@@ -50,7 +50,7 @@ contexts:
5050 scope: punctuation.separator.sequence.log
5151 - match: ''
5252 pop: true
53− - match: (?=(?:\h{0,4}:){2,6}\h{1,4})
53+ - match: (?=(?:\h{0,4}:){2,6}\h{1,4}\b)
5454 push:
5555 - meta_scope: meta.ipaddress.v6.log meta.number.integer.hexadecimal.log
5656 - match: \h{1,4}
@@ -60,7 +60,7 @@ contexts:
6060 - match: ''
6161 pop: true
6262 numbers:
63− - match: (0x)(\h+)(?:(\.)(\h+))?
63+ - match: \b(0x)(\h+)(?:(\.)(\h+))?\b
6464 scope: meta.number.float.hexadecimal.log
6565 captures:
6666 1: constant.numeric.base.log