UDL- Recognize Any 32 Characters Surrounded by Commas
-
Hello. Trying to define a new language. Here is an example line:
[frame0]<tile>30,64802A40C8D094A040800A40C8909080,0F0F0516,0,8,1,Y
I would like to have the 32 character entry (in bold here), be recognized. The 32 characters change depending on “reasons”, but are always numbers and letters {it’s a 32 character hexadecimal string).
So, Is there a way to define “any 32 characters that is surrounded by commas”?
Thanks for any help!
-
@TM-S ,
That is beyond the simple keyword matching of UDL alone, sorry.
However, if you define everything else in UDL, you could use the EnhanceAnyLexer plugin to add foreground-color changes on any text that matches a regular expression, which could be
\b[0-9A-F]{32}\b
-
@PeterJones Thank for the fast response! I will give that a try.