Thanks for this. It''s good as far as it goes, but if I add an additional sublexem to allow ''+'' in the exponent as well as ''-'', it stops. Other additions outside of the numeric lexem have the same effect.
The attached config file doesn''t work at all properly with your example, although it appears it should.
In general it seems that there are rules being applied other than those in the xml file. For example, if I specify 3 lexems, ''a'', ''b'' and '','', then I find ''a,b'' is highlighted correctly, as is ''a b ,''. But ''ab,'' will not be recognised. It''s as if the editor has an internal list of delimiters which it uses to split lines before looking for regexp matches. It would help a lot if there were some documentation describing exactly what''s going on.
Any assistance greatly appreciated.
David
Config1.zip