$OpenBSD: patch-doc_syntax_pov_nanorc,v 1.1 2006/12/14 21:26:53 naddy Exp $
--- doc/syntax/pov.nanorc.orig	Thu Nov  2 07:32:02 2006
+++ doc/syntax/pov.nanorc	Thu Dec  7 17:32:53 2006
@@ -2,14 +2,14 @@
 ##
 syntax "pov" "\.(pov|POV|povray|POVRAY)$"
 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 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 green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
-color brightmagenta "\<(union|group|subgroup)\>"
+color brightmagenta "[[:<:]](union|group|subgroup)[[:>:]]"
 ## Comment highlighting
 color brightblue "//.*"
 color brightblue start="/\*" end="\*/"
