diff --git a/ChangeLog b/ChangeLog index 2cc74fedf6a995249d0743c28fb6210c18df6632..3dd9dadff1a510b682fcb1ac3118f1c1d5f289ac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -64,6 +64,9 @@ CVS code - - Change search toggles for case sensitive searching and regexp searching to M-C and M-R, respectively. (DLR; suggested by Chris) +- nanorc.sample: + - Fix the c-file regex for all caps words to be extended regex + format ({} instead of \{\}) (found by DLR). - TODO: - Add entry in the 1.4 section for Pico's paragraph searching ability (at the search prompt, ^W goes to the paragraph's diff --git a/nanorc.sample b/nanorc.sample index 297db542c1cd0aac0ce75e331756448c9bc348e8..27cb070632e05eeaaa1f2fe2e35423600fde58cd 100644 --- a/nanorc.sample +++ b/nanorc.sample @@ -91,7 +91,7 @@ # to set the background color to black or white. # syntax "c-file" ".*\.c$" ".*\.h$" -# color red "\<[A-Z_]\{2,\}\>" +# color red "\<[A-Z_]{2,}\>" # color green "\<float\>" "\<char\>" "\<int\>" "\<void\>" # color green "\<static\>" "\<const\>" "\<struct\>" # color brightyellow "\<if\>" "\<while\>" "\<do\>" "\<else\>" "\<case\>" "\<switch\>"