reg. expressions & MS assembler

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Tim Beckham

reg. expressions & MS assembler

Post 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
Tim Beckham

Re: reg. expressions & MS assembler

Post 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
Andreas

Re: reg. expressions & MS assembler

Post 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
Tim Beckham

Re: reg. expressions & MS assembler

Post 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
Post Reply