Blank Lines and Whole Words in UDL 2.1
-
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!
-
-
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 -
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.
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