Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Fixed TCMD 20 beta @REGEXSUB problem

Sep
45
1
Tried out the 20 beta. I use @REGEXSUB heavily in my batch files and it is not functioning properly.

Simplified example:
echo %@REGEXSUB[1,"^TCC ([0-9]+)",TCC 2]

In 17.00.77 x64, this returns "2". In 20beta it returns an empty string.

I suppose this could have broken in 18 or 19, but given the change of regular expression library in 20 I think it's more likely that it's a regression in the beta.
 
I get "2" in the 32-bit version of the v20 beta.
Code:
v:\> ver & echo %@REGEXSUB[1,"^TCC ([0-9]+)",TCC 2]

TCC  20.00.8  Windows 7 [Version 6.1.7601]
2
 
Interesting. Thanks for checking. Perhaps there's something odd about my environment, or it's a 64-bit specific issue.

Just tried again (I uninstalled 20 but kept the files zipped up in case I wanted to run another test).

[c:\tt]ver & echo %@REGEXSUB[1,"^TCC ([0-9]+)",TCC 2]

TCC 17.00.77 x64 Windows 7 [Version 6.1.7601]
2

[c:\tt]tcc
Your evaluation period expires in 30 days.
You can buy Take Command at https://jpsoft.com

2[c:\tt]ver & echo %@REGEXSUB[1,"^TCC ([0-9]+)",TCC 2]

TCC 20.00.8 x64 Windows 7 [Version 6.1.7601]
ECHO is OFF
 
Found the new beta with option /u installed without a hitch though still had to reconfig everything.exe index and rebuild. dedupe works with embedded white spaces.
 
Back
Top
[FOX] Ultimate Translator
Translate