Loading ...
Sorry, an error occurred while loading the content.

136286Re: trouble with pattern, character collections

Expand Messages
  • Erik Christiansen
    Feb 20, 2013
    • 0 Attachment
      On 19.02.13 10:23, Christian Brabandt wrote:
      > Bram, here is a patch, making [^\n] not match NL within the text and
      > that also documents, that '.' matches CR and LF within the text.
      > This makes both [1] and [2] behave the same and seems to better match
      > the users expectations.

      Christian, many thanks for the work you have done, and for putting users
      first. It is heartily appreciated.

      The consolation may be small, but vim is now consistent with awk:

      . This matches any single character, including the newline character.

      « - xpdf gawk.pdf # "Effective AWK Programming"

      O'Reilly's "Mastering Regular Expressions" has it as varying between
      tools. (OK, we knew that. :-)


      The only thing worse than X Windows: (X Windows) - X

      You received this message from the "vim_use" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php

      You received this message because you are subscribed to the Google Groups "vim_use" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Show all 28 messages in this topic