Community
    • Login

    Search ignoring whitespace

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 1.9k Views 1 Watching
    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.
    • jdx-johnJ Offline
      jdx-john
      last edited by jdx-john

      I have a lot of lines containing text like “proc : do-stuff()” and would basically like to do a search for “proc:do-stuff” ignoring whitespace.

      Is the only way to do this to use the full regex search mode or can I do it using extended search? Searching for “Proc\s+:\s+do-stuff” is something I have to look up how to do every time it’s been more than a week :)

      It’s something I seem to do quite often and I’d personally love if there was a simple “Ignore whitespace” checkbox alongside “Match case” and “Match whole word only”. I don’t suppose this might be considered a feature request

      Alan KilbornA 2 Replies Last reply Reply Quote 0
      • Alan KilbornA Offline
        Alan Kilborn @jdx-john
        last edited by

        @jdx-john said in Search ignoring whitespace:

        Is the only way to do this to use the full regex search mode

        Yes.

        or can I do it using extended search?

        No.

        1 Reply Last reply Reply Quote 0
        • Alan KilbornA Offline
          Alan Kilborn @jdx-john
          last edited by

          @jdx-john said in Search ignoring whitespace:

          love if there was a simple “Ignore whitespace” checkbox alongside “Match case” and “Match whole word only”.

          So it would be?:

          • ignore whitespace in the Find what expression
          • ignore whitespace in the text that is searched
          • both

          I don’t suppose this might be considered a feature request

          Feature requests are not made here (well, if you want them to be seen by the developers). See HERE for how to make a proper one.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors