@Orion-Admin
a long post, but unfortunately there is a short answer.
The way you want to have it work cannot be achieved with UDL.
The first misunderstanding is, that you can define keywords which only
get colored when surrounded by delimiter. This isn’t the case, keywords get
colored when found.
Next, you cannot define delimiters which are subsets of other delimiters.
Sorry, either you redefine your requirements or you need to use a different approach
like writing your own lexer (can even be done with python or lua script plugins).
The documentation about UDL is here.
Cheers
Claudia