Ticket #69: 12664-string_regexp_search-match-eol.patch
File 12664-string_regexp_search-match-eol.patch, 600 bytes (added by slavazanko, 16 years ago) |
---|
-
edit/editcmd.c
RCS file: /sources/mc/mc/edit/editcmd.c,v retrieving revision 1.154 diff -u -p -r1.154 editcmd.c
string_regexp_search (char *pattern, cha 1452 1452 g_free (old_pattern); 1453 1453 old_pattern = 0; 1454 1454 } 1455 if (regcomp (&r, pattern, REG_EXTENDED | (icase ? REG_ICASE : 0))) {1455 if (regcomp (&r, pattern, REG_EXTENDED | REG_NEWLINE | (icase ? REG_ICASE : 0))) { 1456 1456 *found_len = 0; 1457 1457 return -3; 1458 1458 }