Angus Leeming wrote:

> in which case we need
> $macro = '\\\\(?:\)|([^a-zA-Z)]\*?)|([a-zA-Z]+\*?)\s*)';

In fact, I believe that we can move the two '\*?' bits out of the 'or' to 
give
$macro = '\\\\(?:\)|([^a-zA-Z)])|([a-zA-Z]+)\*?\s*)';

Do you agree?

Talk about a pile of obfuscated crap! André would it be possible to turn 
your math parser into a stand-alone TeX -> LyX converter?

Disgustedly yours,
Angus

Reply via email to