General - Added separate regex variable (color_regex and colormatches) so that color syntax and regex search/replace can coexist
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1141 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
3533a348fc
commit
373bc2fa48
2
global.c
2
global.c
|
@ -125,7 +125,7 @@ regmatch_t regmatches[10]; /* Match positions for parenthetical
|
|||
subexpressions, max of 10 */
|
||||
#ifdef ENABLE_COLOR
|
||||
regex_t color_regexp; /* Global to store compiled search regexp */
|
||||
regmatch_t colormatches; /* Match positions for parenthetical */
|
||||
regmatch_t colormatches[1]; /* Match positions for parenthetical */
|
||||
#endif /* ENABLE_COLOR */
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue