diff --git a/syntax/go.nanorc b/syntax/go.nanorc
index 1a38dd5806d9490b216650a5ec0f4b3a7a73c8ca..774228403de877c0fb7ff87f7c5f2605ae178b8a 100644
--- a/syntax/go.nanorc
+++ b/syntax/go.nanorc
@@ -24,13 +24,9 @@ color brightcyan "\<(package|import)\>"
 color brightcyan "//[[:space:]]*\+build[[:space:]]+(([a-zA-Z_0-9]+[[:space:]]*)+,[[:space:]]*)*[a-zA-Z_0-9]+"
 
 # Literals.
-color red "\<[0-9]+\.[0-9]*([Ee][+-]?[0-9]+)?i?\>"
-color red "\<[0-9]+[Ee][+-]?[0-9]+i?\>"
+color red "\<[0-9]+(\.[0-9]*)?([Ee][+-]?[0-9]+)?i?\>"
 color red "\B\.[0-9]+([Ee][+-]?[0-9]+)?i?\>"
-color red "\<[0-9]+i\>"
-color red "\<[1-9][0-9]*\>"
-color red "\<0[0-7]*\>"
-icolor red "\<0x[0-9a-f]+\>"
+color red "\<(0[0-7]*|[1-9][0-9]*|0[xX][0-9a-fA-F]+)\>"
 
 # Strings and characters; slightly fuzzy.
 color red "\<(true|false|nil|iota|_)\>"
diff --git a/syntax/pov.nanorc b/syntax/pov.nanorc
index 7c14f7f397a709fb3c8b9391bb6e727122b96994..9746bcc3bab2428d961594b67af4305e238b4f99 100644
--- a/syntax/pov.nanorc
+++ b/syntax/pov.nanorc
@@ -7,9 +7,7 @@ color brightcyan "^[[:space:]]*#[[:space:]]*(declare)"
 color brightyellow "\<(sphere|cylinder|translate|matrix|rotate|scale)\>"
 color brightyellow "\<(orthographic|location|up|right|direction|clipped_by)\>"
 color brightyellow "\<(fog_type|fog_offset|fog_alt|rgb|distance|transform)\>"
-color brightred "^texture\>"
-color brightred "\<(light_source|background)\>"
-color brightred "\<(fog|object|camera)\>"
+color brightred "\<(background|camera|fog|light_source|object|texture)\>"
 color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
 color brightmagenta "\<(union|group|subgroup)\>"