¯2.2e¯20j¯3.3e¯30 is a single numeric literal in APL, but Lightshow shows me that it is coloured in a mixture of red and blue.
There are railway diagrams for the syntax in section 6.1.2 of the ISO Extended APL standard, but it may be simpler to match a superset, e.g. (in egrep syntax): ([¯0-9]|\.[0-9])[¯0-9A-Za-z]*
¯2.2e¯20j¯3.3e¯30 is a single numeric literal in APL, but Lightshow shows me that it is coloured in a mixture of red and blue.
There are railway diagrams for the syntax in section 6.1.2 of the ISO Extended APL standard, but it may be simpler to match a superset, e.g. (in egrep syntax):
([¯0-9]|\.[0-9])[¯0-9A-Za-z]*