Hello @Chris-Swinney,
I’m not sure if you can do this with UDL properly as it is designed to act on words rather than lines.
If it is sufficient then define the keywords ERROR, WARNING with the foreground and background color
of your choice and define a double quote delimiter for open and close. Press style and allow nesting
with your keywords.
If this isn’t what you are looking for, then the other alternative I now would be using a python script
to color the the lines.
Cheers
Claudia