Community

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

    UDL highlighting a string

    Help wanted · · · – – – · · ·
    2
    8
    2102
    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.
    • Daniel Scholz
      Daniel Scholz last edited by

      Hello,
      how can I highlight this string in UDL?

      @122 R15 K0 K555

      All numbers are variable!

      thx
      Daniel

      Claudia Frank 1 Reply Last reply Reply Quote 0
      • Claudia Frank
        Claudia Frank @Daniel Scholz last edited by Claudia Frank

        @Daniel-Scholz

        What do you mean by this string? The whole string?
        Or @122 independently from R15 and from K0 which itself should be same as K555?
        So, do you want to have @, R and K be an identifier for strings?

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Daniel Scholz
          Daniel Scholz last edited by

          I mean the complete string.

          Starting with @ (then a number)
          then any space
          then text
          then any space
          then text
          then any space
          then text

          Claudia Frank 1 Reply Last reply Reply Quote 0
          • Claudia Frank
            Claudia Frank @Daniel Scholz last edited by Claudia Frank

            @Daniel-Scholz

            by defining a delimiter start with @ and end with special variable ((EOL)).
            Yes, needs to be encased by (( and )).

            Or could it be that @ is followed by a string? If this is the case you would need to create
            a list of @0 to @9.

            Cheers
            Claudia

            1 Reply Last reply Reply Quote 0
            • Daniel Scholz
              Daniel Scholz last edited by

              No, after @ comes a number.
              Can you give me an example.
              Or can you tell me a side where i can find informations how to create.

              Example: I want to find following strings.

              @121 R60 K5 K200
              @360 R55 K0 K120

              Both line should be highlighted.

              Claudia Frank 1 Reply Last reply Reply Quote 0
              • Claudia Frank
                Claudia Frank @Daniel Scholz last edited by

                @Daniel-Scholz

                docu about udl is http://ivan-radic.github.io/udl-documentation/delimiters/

                Cheers
                Claudia

                1 Reply Last reply Reply Quote 0
                • Daniel Scholz
                  Daniel Scholz last edited by

                  Is there anywhere a overview of all available parameter´s?

                  Like ((EOL))… what else is possible?

                  Claudia Frank 1 Reply Last reply Reply Quote 0
                  • Claudia Frank
                    Claudia Frank @Daniel Scholz last edited by Claudia Frank

                    @Daniel-Scholz

                    afaik, ((EOL)) is the only one,
                    but to answer the question, I don’t know any other than the source code.

                    Cheers
                    Claudia

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