Ver 5.0.3
I've been using the textpads Tool capabilities to run scripts and produce listings of files and line numbers. I've run into an issue where regex matches don't work if used in more than one tool.
ie
I set up a Tool to call a perl script a.pl which produces output as follows:
Line 10: example line 10 :: C:\mydir\myfile.txt
and use the regex to find line and file info:
^Line ([0-9]+):.* :: (([a-z]?[^:]+)\s*$
I create a second Tool to call script a.pl with different parameters which produces identical output and use the same regex as before.
For some reason, textpad is able to match lines with the first tool but not the second, even though it calls the same script which produces the same format output regardless of parameters. I've even set it up where I've removed both tools, and recreated only the second (the one that didn't work) and after being recreated and set up exactly as before, it now works, the only difference being that the first Tool wasn't recreated.
(bug) Tool regex matching
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard