You might want to have a look at nedit. It has reasonably powerful syntax highlighting based on what seem to be Perl regexen. IIRC, features like look-arounds are supported. I've not tried to set up highlighting for a new language but I would have thought it was possible.