Page 1 of 1

reg. expressions & MS assembler

Posted: Sun Aug 05, 2001 11:43 pm
by Tim Beckham
I am trying to configure TextPad to work with MS ML.exe (assembler and linker). If I disable "Capture Output", the source file is assembled and linked, and I get my .exe file. However, if I want to capture output and check the "Capture Output" box, then the program hangs when I run it. I assume my regular expression is incorrect. Can anyone help?
Tim Beckham

Re: reg. expressions & MS assembler

Posted: Sun Aug 05, 2001 11:51 pm
by Tim Beckham
An update to the previous message -- When I use the following reg. exp:
^\([^(]+\)(\([0-9]+\))
and also check the "Suppress output until completed" box, the assembler/linker tool works!! Now why is that? Is there something important that I am missing? Is this a bug in TextPad?
Tim Beckham

Re: reg. expressions & MS assembler

Posted: Mon Aug 06, 2001 6:48 am
by Andreas
Whether the tool runs or not does not depend on the regex!
The regex is only used when you click on the output lines to see whether it is a link to a source line (i.e. [usually] an error or warning) and which part of it is the filename and the line number (and column number).

That you got the tool to run only depended on the "Suppress output until completed". Some programs do not like it if you grab their output before they are finished, ML.exe seems to be one of those.

Andreas

Re: reg. expressions & MS assembler

Posted: Mon Aug 06, 2001 10:13 am
by Tim Beckham
Andreas,
Thanks for your response. Working one's way through these issues would be much more difficult, if it were not for the help of guides like yourself.
Tim