Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Search ignoring whitespace

    Help wanted · · · – – – · · ·
    2
    3
    147
    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-john
      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 Kilborn 2 Replies Last reply Reply Quote 0
      • Alan Kilborn
        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 Kilborn
          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
          Copyright © 2014 NodeBB Forums | Contributors