• Login
Community
  • Login

Can't edit the wiki and I have a change to make.

Scheduled Pinned Locked Moved General Discussion
2 Posts 2 Posters 1.3k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    Sam Drost
    last edited by Sam Drost May 4, 2018, 7:41 PM May 4, 2018, 7:40 PM

    I noticed on the macro page that the value for “. matches newline” in the Regexp section is not documented. I believe it should be 1024.

    S 1 Reply Last reply May 4, 2018, 8:09 PM Reply Quote 1
    • S
      Scott Sumner @Sam Drost
      last edited by May 4, 2018, 8:09 PM

      @Sam-Drost

      I think this is a more direct link to what you are referring to.

      I also think that you are correct, although probably a lot of Regular expression search mode users ignore the . matches newline checkbox and use instead (?s) or (?-s) at the start of their regular expression. Doing this makes unnecessary the need to know the 1024 mask value for the lParam of the 1702 message.

      BTW:

      (?s) at the start of Find what means effectively . matches newline checkbox ticked
      (?-s) at the start of Find what means effectively . matches newline checkbox cleared

      and:

      . matches newline checkbox ticked means the 1024 mask value is used
      . matches newline checkbox cleared means the 1024 mask value is not used

      1 Reply Last reply Reply Quote 1
      2 out of 2
      • First post
        2/2
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors