Ticket #207: 99c_fix-regex-newline-match.patch
File 99c_fix-regex-newline-match.patch, 439 bytes (added by Patrick Winnertz, 16 years ago) |
---|
-
mc-4.6.2~git20080311/edit/editcmd.c
old new 1570 1570 g_free (old_pattern); 1571 1571 old_pattern = 0; 1572 1572 } 1573 if (regcomp (&r, pattern, REG_EXTENDED | (icase ? REG_ICASE : 0))) { 1573 if (regcomp (&r, pattern, REG_EXTENDED | (icase ? REG_ICASE : 0) | 1574 REG_NEWLINE)) { 1574 1575 *found_len = 0; 1575 1576 return -3; 1576 1577 }