• Login
Community
  • Login

Blank Lines and Whole Words in UDL 2.1

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 1.2k 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.
  • F
    FrontMan08
    last edited by May 11, 2018, 5:40 PM

    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!

    C 1 Reply Last reply May 12, 2018, 8:49 PM Reply Quote 0
    • C
      Claudia Frank @FrontMan08
      last edited by May 12, 2018, 8:49 PM

      @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
      • F
        FrontMan08
        last edited by May 14, 2018, 6:31 PM

        @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
        2 out of 3
        • First post
          2/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors