Community
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics

    • All categories
    • M Andre Z EckenrodeM

      Search++ (\W)'(\w) regex replace failure

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      49
      0 Votes
      49 Posts
      3k Views
      M Andre Z EckenrodeM
      @Coises said: I expect that Version 0.6.5 will fix this. Noted, thanks again, and I’ll let him know — although he actually doesn’t typically use regex for his own purposes.
    • P

      When finding in files is it possible to show more than one line?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      10
      0 Votes
      10 Posts
      366 Views
      PeterJonesP
      So if I search using (?=.*Error)(?=.*Foobar1)(?=.*Foobar2) With regular expression and newline checked. I do see it boil down to the files I am interested in. My only other need is to see all the lines associated/contained with the AND. … The first table in the FAQ is just showing the logic for matching all of those terms. Later down in the FAQ, there is another table which explains how to find the exact line that matches all of those terms. In your case, the AND would be (?-s)(?:(?=.*Error)(?=.*Foobar1)(?=.*Foobar2))^.*(?:\R|\z) [image: 1787010625218-59c19de8-1eb3-41e3-9fd1-14abdcb43053-image.jpeg] or, using the Find Results via Find All in Current Document: [image: 1787010757984-6f1d47c5-0787-4257-91c0-22189e1d79fc-image.jpeg] dummy example file to show it working: Blah Error Blah Foobar1 blah Foobar2 Blah Warning blah Football1 blah Football2 Blah Foobar2 blah Foobar1 blah Error order doesn't matter Blah Error blah Foobar1 blah Footbark2 won't match because it doesn't have all three
    • J

      Notepad++.exe blocked from Right-click edit - txt, m3u etc.

      Watching Ignoring Scheduled Pinned Locked Moved Security
      9
      1 Votes
      9 Posts
      303 Views
      PeterJonesP
      @J-Mark-Barfield , that was not a “regedit”, that was a normal command-line command all those two commands did was run an instance of notepad++.exe without RunAsAdmin privileges, even before you made the change to the executable compatibility settings it was completely unnecessary all you had to do was exit Notepad++ application completely (so it wasn’t running), then do the steps I explained to get notepad++.exe to not run as admin, and then the next time you ran Notepad++ (either using your shortcut or double clicking on the exe or running the exe from the command line normally or double clicking on a text file or right clicking and choosing Edit with Notepad++) would have run Notepad++ not as admin if you didn’t exit Notepad++ first, then the still running Notepad++ instance would still be running as Admin. Changing the exe properties while the exe is running doesn’t magically drop the running Notepad++ out of Admin mode. And thus your right click would not have worked, because the running Notepad++ was still in Admin mode. all you did by doing those extra commands was close the Notepad++ that was running as admin open a new instance that wasn’t running as admin change the exe properties so that it wouldn’t run as admin next time (I understand that you got it working, so you don’t really care at this point. But I don’t want future people to read this discussion, and come to the wrong conclusion that they need to do your extra steps. Those steps were completely unnecessary.)
    • cosmic-hyenaC

      adverts on download page?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      5
      0 Votes
      5 Posts
      159 Views
      cosmic-hyenaC
      @PeterJones thanks mate.
    • Afik GilboaA

      nppftp and and windows 11

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      8
      0 Votes
      8 Posts
      389 Views
      PeterJonesP
      i check both the shortcut and the actual file, and both of them have the “run as administrator” unchecked. so any ideas why it keeps opening in admin mode? No immediate idea. But some questions: How do you normally run Notepad++? With a shortcut on the Desktop? With a shortcut on the toolbar? With the start menu? Or running notepad++.exe by double-clicking the executable? Or by double-clicking a file that is associated with Notepad++? Do they all open it in Admin mode, or just some (and which does which, obviously) inside AppData i have only 3 folders: local, locallow, and roaming When I say %AppData%\Notepad++, I mean that you can paste that directly into the path bar of your Explorer window, and the Windows OS will take you to that location: it knows what is meant by %AppData%, even when you don’t. We’ve got a FAQ: What is %AppData% to help you understand what that really means. If you use the variable %AppData%, it will automatically expand into the C:\users\username\AppData\Roaming or whatever path is appropriate for your computer – there are lots of ways to customize it, and it should be safer to tell a user to use %AppData%\Notepad++ rather than trying to guess that their system is set up exactly as I expect it, so it will probably resolve to C:\users\username\AppData\Roaming\Notepad++, but might not. Unfortunately, while that should be safe to use a variable that has held that meaning for decades, and while general Windows computer experience should have taught users what %AppData% actually means, not everyone does. I should have linked to the FAQ earlier. After reading the FAQ, please try to follow the directions again, this time understanding what I (and the operating system) mean by %AppData% , to find the actual %AppData%\Notepad++\plugins\config directory, confirm that NppFTP exists as a subdirectory, and confirming the permissions that I have requested you to check.
    • donhoD

      Notepad++ release 8.9.7

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      11
      2 Votes
      11 Posts
      8k Views
      donhoD
      @PeterJones Oups, I forgot this issue: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/18226#issuecomment-5299311741
    • CoisesC

      Search++: A work in progress

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      127
      6 Votes
      127 Posts
      41k Views
      CoisesC
      Search++ version 0.6.5 is available: Update to ICU 78.3 and use static linking for ICU. This is expected to fix problems some testers have had running Search++ on older systems or on minimal Windows installs (like Windows Sandbox). For most users there will be no functional difference between this version and version 0.6.4. Note: There are five icu——.dll files in older versions of Search++ that are not used beginning with version 0.6.5; so it is best to delete the existing Search++ folder (or its contents) before copying, rather than copying the new folder over the old one.
    • P

      Remove lines starting by...

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      177 Views
      PeterJonesP
      @Passant-Delarue , Initial guess: turn off “. matches newline”, otherwise your .* will greedily match the whole file.
    • S

      [New Plugin] EncTags — inline text encryption via ^^...^^ tags

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      1
      0 Votes
      1 Posts
      41 Views
      No one has replied
    • S

      Is there a serious reason why a "user-defined language" cannot specify the encoding?

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      1
      0 Votes
      1 Posts
      46 Views
      No one has replied
    • donhoD

      Notepad++ v8.9.8 Release Candidate

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      1
      5 Votes
      1 Posts
      389 Views
      No one has replied