Community
    • Login

    Blank Lines and Whole Words in UDL 2.1

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 1.1k 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.
    • FrontMan08F
      FrontMan08
      last edited by

      Hello, I’ve been working to get UDL set up for Audit Command Language (ACL) files. I am running into a couple of issues with the comments. The way comments work in ACL is:

      • COMMENT on a line by itself - starts a block comment that is ended by a blank line

      • COMMENT + (any string)- starts a line comment that is ended by EOL

      Also, ACL supports abbreviations for commands so COM can be used in place of COMMENT. I cannot seem to find a way to differentiate between the two or to use a blank line as an END to the block comment.

      The other issue I have is that UDL does not allow you for force WHOLE WORD matches and therefore END and APPEND will trigger delimiters.

      I am sorry if this has been asked before. I have searched off and on for a few days and could not find a solution to this issue. Thanks in advance!

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @FrontMan08
        last edited by

        @FrontMan08

        To be honest, if I understand correctly, I don’t think UDL can do what you want to achieve.
        Possible solution might be using scripting language plugins like python script and writing
        your own lexer or using it together with pygments and/or using lua script and scintillua.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • FrontMan08F
          FrontMan08
          last edited by

          @Claudia-Frank

          Thanks for the feedback. I had a feeling I was running up against the edge of UDL’s capabilities. I’ll have to explore the python scripting approach or some other workarounds for now.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors