$OpenBSD: patch-doc_syntax_awk_nanorc,v 1.1 2009/12/01 19:39:31 naddy Exp $
--- doc/syntax/awk.nanorc.orig	Fri Aug 14 05:16:32 2009
+++ doc/syntax/awk.nanorc	Tue Dec  1 18:48:12 2009
@@ -4,26 +4,26 @@ syntax "awk" "\.awk$"
 ## records
 icolor brightred "\$[0-9A-Z_!@#$*?-]+"
 ## awk-set variables
-color red "\<(ARGC|ARGIND|ARGV|BINMODE|CONVFMT|ENVIRON|ERRNO|FIELDWIDTHS)\>"
-color red "\<(FILENAME|FNR|FS|IGNORECASE|LINT|NF|NR|OFMT|OFS|ORS)\>"
-color red "\<(PROCINFO|RS|RT|RSTART|RLENGTH|SUBSEP|TEXTDOMAIN)\>"
+color red "[[:<:]](ARGC|ARGIND|ARGV|BINMODE|CONVFMT|ENVIRON|ERRNO|FIELDWIDTHS)[[:>:]]"
+color red "[[:<:]](FILENAME|FNR|FS|IGNORECASE|LINT|NF|NR|OFMT|OFS|ORS)[[:>:]]"
+color red "[[:<:]](PROCINFO|RS|RT|RSTART|RLENGTH|SUBSEP|TEXTDOMAIN)[[:>:]]"
 ## function declarations and special patterns
-color brightgreen "\<(function|extension|BEGIN|END)\>"
+color brightgreen "[[:<:]](function|extension|BEGIN|END)[[:>:]]"
 ## operators
 color green "(\{|\}|\(|\)|\;|\]|\[|\\|<|>|!|=|&|\+|-|\*|%|/|\?:|\^|\|)"
 ## flow control
-color brightyellow "\<(for|if|while|do|else|in|delete|exit)\>"
-color brightyellow "\<(break|continue|return)\>"
+color brightyellow "[[:<:]](for|if|while|do|else|in|delete|exit)[[:>:]]"
+color brightyellow "[[:<:]](break|continue|return)[[:>:]]"
 ## I/O statements
-color brightgreen "\<(close|getline|next|nextfile|print|printf)\>"
-color brightgreen "\<(system|fflush)\>"
+color brightgreen "[[:<:]](close|getline|next|nextfile|print|printf)[[:>:]]"
+color brightgreen "[[:<:]](system|fflush)[[:>:]]"
 ## standard functions
-color magenta "\<(atan2|cos|exp|int|log|rand|sin|sqrt|srand)\>"
-color magenta "\<(asort|asorti|gensub|gsub|index|length|match)\>"
-color magenta "\<(split|sprintf|strtonum|sub|substr|tolower|toupper)\>"
-color magenta "\<(mktime|strftime|systime)\>"
-color magenta "\<(and|compl|lshift|or|rshift|xor)\>"
-color magenta "\<(bindtextdomain|dcgettext|dcngettext)\>"
+color magenta "[[:<:]](atan2|cos|exp|int|log|rand|sin|sqrt|srand)[[:>:]]"
+color magenta "[[:<:]](asort|asorti|gensub|gsub|index|length|match)[[:>:]]"
+color magenta "[[:<:]](split|sprintf|strtonum|sub|substr|tolower|toupper)[[:>:]]"
+color magenta "[[:<:]](mktime|strftime|systime)[[:>:]]"
+color magenta "[[:<:]](and|compl|lshift|or|rshift|xor)[[:>:]]"
+color magenta "[[:<:]](bindtextdomain|dcgettext|dcngettext)[[:>:]]"
 
 ##
 ## String highlighting.  You will in general want your comments and
