Community
    • Login

    RegEx, error?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    12 Posts 3 Posters 3.5k 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.
    • Alan KilbornA Offline
      Alan Kilborn @Thomas 2020
      last edited by Alan Kilborn

      @Pan-Jan

      There are some workarounds that can make \A logic work more like one would expect.

      See this thread for one:
      https://community.notepad-plus-plus.org/topic/16104/how-to-find-and-highlight-a-specific-occurance-of-a-symbol/

      1 Reply Last reply Reply Quote 1
      • Thomas 2020T Offline
        Thomas 2020
        last edited by Thomas 2020

        @Alan-Kilborn said in RegEx, error?:

        There are some workarounds that can make \A logic work more like one would expect.

        it is proposed to replace “\A”:

        (?<!\n|\r|\f)
        but it doesn’t work

        1 Reply Last reply Reply Quote 0
        • Thomas 2020T Offline
          Thomas 2020
          last edited by

          but it works

          \`
          

          instead

          \A
          
          Alan KilbornA 1 Reply Last reply Reply Quote 0
          • Alan KilbornA Offline
            Alan Kilborn @Thomas 2020
            last edited by

            @Pan-Jan

            but it works …

            How come you don’t show a screenshot of the “working” version?

            1 Reply Last reply Reply Quote 0
            • Thomas 2020T Offline
              Thomas 2020
              last edited by

              Schowek01.jpg

              Alan KilbornA 1 Reply Last reply Reply Quote 0
              • Alan KilbornA Offline
                Alan Kilborn @Thomas 2020
                last edited by

                @Pan-Jan

                Hmmmmm.

                What I meant was: If you contend that \` is equivalent to \A, why don’t you show screenshots of the Find dialog and some results showing it working, much like your earlier screenshots in this thread.

                1 Reply Last reply Reply Quote 0
                • Thomas 2020T Offline
                  Thomas 2020
                  last edited by

                  link text
                  Schowek02.jpg

                  Alan KilbornA 1 Reply Last reply Reply Quote 0
                  • Alan KilbornA Offline
                    Alan Kilborn @Thomas 2020
                    last edited by Alan Kilborn

                    @Pan-Jan

                    Yes, but that’s not what you said before.
                    But, you have demonstrated in the past an unclearness about “straight” double quotes and “curled” double quotes, so I suppose you consider \` and \’ to be the same thing.

                    Aside from your inaccuracy about the equivalency for \A (let’s put that behind us), you also said “but it works”, so can you demonstrate to us how you think it works?

                    I don’t think you can, because your posts don’t make a lot of sense.
                    I’m sure you will hide behind not being a native English speaker, but others have tried to point out to you that language-translators can make non-English speakers sound truly like English speakers – if one is willing to use them, correctly.

                    Thomas 2020T 1 Reply Last reply Reply Quote 0
                    • Thomas 2020T Offline
                      Thomas 2020 @Alan Kilborn
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • Thomas 2020T Offline
                        Thomas 2020
                        last edited by

                        This post is deleted!
                        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