Community
    • Login

    Search ignoring whitespace

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 1.0k 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.
    • jdx-johnJ
      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
        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
          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
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors