Own language highlighting with regex expressions?
Manolo Müller Menendez
I want to create a own language highlighting for number coded logs. A log string looks like this:
First a identifier, than a timestamp and then additional information seperated by commas. I would like to do it via Regex but I dont know if that is possible. Anyone with an idea?
UDL doesn’t support regex yet which means you either have to write your own lexer as a plugin
or you use some scripting languages like python script and lua script to do it.
Next decision would be if the formatting should be updated constantly while file changes or
if it is only necessary on load as file content will not change. Latter is much easier to implement
as you only have to deal with bufferactivated callback.