Community

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

    Regular Expressions LF∉\h LF∈\v

    General Discussion
    3
    6
    1807
    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.
    • AZJIO AZJIO
      AZJIO AZJIO last edited by

      [link Regular Expressions](link http://docs.notepad-plus-plus.org/index.php/Regular_Expressions)
      Error for line feed. Look at the description for /h /v

      1 Reply Last reply Reply Quote 0
      • guy038
        guy038 last edited by

        Hello, @azjio-azjio, and All,

        I confirm that the Line Feed character ( \n ) :

        • Cannot be found with the \h regex, which matches any single horizontal blank character

        • Can be found with the \v regex, which matches any single vertical blank character

        For further information,refer, also, to :

        https://notepad-plus-plus.org/community/topic/15279/unicode-blank-characters-and-the-regexes-h-v-and-s/1

        Cheers,

        guy038

        1 Reply Last reply Reply Quote 0
        • AZJIO AZJIO
          AZJIO AZJIO last edited by

          The regular expression does not work
          [a-z][\t\v]+[a-z]
          Divide the word with the Enter key and test the regular expression

          With this began reading the reference, while the problem remained

          MAPJe71 1 Reply Last reply Reply Quote 0
          • MAPJe71
            MAPJe71 @AZJIO AZJIO last edited by

            @AZJIO-AZJIO did you follow and read the link posted by @guy038 especially his explanation of the difference between \v and [\v]?

            1 Reply Last reply Reply Quote 0
            • AZJIO AZJIO
              AZJIO AZJIO last edited by

              I read on the diagonal, not understanding with what it is connected, because I just asked to correct the error in the help. If there is a difference in behavior, this should be indicated in the description, so that everyone does not ask the same question again.

              1 Reply Last reply Reply Quote 0
              • MAPJe71
                MAPJe71 last edited by

                I just asked to correct the error in the help

                AFAIK you just indicated there is an error on the linked page, you didn’t ask for a correction :-)
                Furthermore, there is no error on the page.

                If there is a difference in behavior, this should be indicated in the description, so that everyone does not ask the same question again.

                Agreed, although keep in mind that the difference wasn’t known of by many (AFAIK, well at least not by me) until @guy038 posted his topic.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright © 2014 NodeBB Forums | Contributors