home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.0.025 < prev    next >
Encoding:
Internet Message Format  |  2001-10-23  |  2.0 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.025
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.0.025
  11. Problem:    The pattern "\vx(.|$)" doesn't match "x" at the end of a line.
  12.         (Preben Peppe Guldberg)
  13. Solution:   Always see a "$" as end-of-line after "\v".  Do the same for "^".
  14. Files:        src/regexp.c
  15.  
  16.  
  17. *** ../vim60.24/src/regexp.c    Fri Sep  7 13:19:00 2001
  18. --- src/regexp.c    Wed Oct 24 19:33:23 2001
  19. ***************
  20. *** 2262,2267 ****
  21. --- 2262,2268 ----
  22.            * "\(", "\|", "\&' or "\n" */
  23.           if (reg_magic >= MAGIC_OFF
  24.               && (at_start
  25. +             || reg_magic == MAGIC_ALL
  26.               || prevchr == Magic('(')
  27.               || prevchr == Magic('|')
  28.               || prevchr == Magic('&')
  29. ***************
  30. *** 2288,2294 ****
  31.           if (p[0] == NUL
  32.               || (p[0] == '\\'
  33.                   && (p[1] == '|' || p[1] == '&' || p[1] == ')'
  34. !                 || p[1] == 'n')))
  35.               curchr = Magic('$');
  36.           }
  37.           break;
  38. --- 2289,2296 ----
  39.           if (p[0] == NUL
  40.               || (p[0] == '\\'
  41.                   && (p[1] == '|' || p[1] == '&' || p[1] == ')'
  42. !                 || p[1] == 'n'))
  43. !             || reg_magic == MAGIC_ALL)
  44.               curchr = Magic('$');
  45.           }
  46.           break;
  47. *** ../vim60.24/src/version.c    Wed Oct 24 13:22:11 2001
  48. --- src/version.c    Wed Oct 24 19:40:42 2001
  49. ***************
  50. *** 608,609 ****
  51. --- 608,611 ----
  52.   {   /* Add new patch number below this line */
  53. + /**/
  54. +     25,
  55.   /**/
  56.  
  57. -- 
  58.        He was not in the least bit scared to be mashed into a pulp
  59.        Or to have his eyes gouged out and his elbows broken;
  60.        To have his kneecaps split and his body burned away
  61.        And his limbs all hacked and mangled, brave Sir Robin.
  62.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  63.  
  64.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  65. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  66.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  67.