commit 79cdfdc204e0ece69c216c08e3094571d195a5d0
parent 82559b3ab0ab618007da8a816cc97c3207b6a25c
Author: Chris Allegretta <chrisa@asty.org>
Date: Thu, 22 Aug 2002 02:58:55 +0000
- nanorc.sample: - Fix the c-file regex for all caps words to be extended regex format ({} instead of \{\}) (found by DLR)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1267 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git 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
@@ -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\>"