Fixed TCMD 20 beta @REGEXSUB problem

Sep 24, 2013
42
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.
 
May 20, 2008
11,411
99
Syracuse, NY, USA
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
 
Sep 24, 2013
42
1
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
 
Similar threads
Thread starter Title Forum Replies Date
w_krieger TCMD 20 beta comment Support 0
JohnQSmith TCMD 15 beta installer Support 6
fromano Documentation Installer for TCMD 15 Beta Support 4
JohnQSmith WAD TCMD 14 Beta Support 18
rconn Take Command / TCMD/LE / TCC/LE 13.0.16 Public Beta RC2 Uploaded Support 0
rconn Take Command / TCMD/LE / TCC/LE 13.0.15 Public Beta RC1 Uploaded Support 0
rconn Take Command / TCMD/LE / TCC/LE 13.0.14 Public Beta Uploaded Support 0
rconn Take Command / TCMD/LE / TCC/LE 13.0.13 Public Beta Uploaded Support 0
rconn Take Command / TCMD/LE / TCC/LE 13.0 Public Beta Uploaded Support 0
rconn Take Command / TCMD/LE / TCC/LE 12.0.28 RC1 Public Beta uploaded Support 2
rconn Take Command / TCMD/LE / TCC/LE 12.0.27 Public Beta uploaded Support 0
rconn Take Command / TCMD/LE / TCC/LE 12.0.26 Public Beta uploaded Support 20
rconn Take Command / TCMD/LE / TCC/LE 12.0.25 Public Beta uploaded Support 0
rconn Take Command / TCMD/LE / TCC/LE 12.0.24 Public Beta uploaded Support 2
rconn Take Command / TCMD/LE / TCC/LE 12.0.23 Public Beta uploaded Support 0
rconn Take Command / TCMD/LE / TCC/LE 12.0 Public Beta Support 0
rconn Take Command / TCMD/LE / TCC/LE v10 beta build 47 uploaded Support 5
rconn Take Command / TCMD/LE / TCC/LE v10 beta build 46 uploaded Support 9
rconn Take Command / TCMD/LE / TCC/LE v10 beta build 43 uploaded Support 9
Juanma Barranquero TCMD V10 beta: crash with "dirhistory /g" Support 1
MickeyF equivalent to TCSTART.btm for TCMD? Support 4
D Bug TCMD /X option Support 6
vefatica TCMD hides itself! Support 3
vefatica Tray min'd TCMD and ACTIVATE Support 6
C How to? starting TCC/TCMD v25 Support 2
CWBillow TCC and TCMD in Powershell Support 6
kb6ojs How to? "Specified Account Already Exists" error installing TCMD v27 Support 12
CWBillow TCMD Colors Support 8
Jay Sage Issues With TCMD File Explorer Support 0
C Last TCMD that supports win 7? Support 5
gentzel TCMD background color confusion Support 6
R Upgrade TCMD 19 to TCC 26 Support 1
Alpengreis Remaining TCMD background process (v26) ... Support 19
S Windows Server version not being detected correctly in TCMD 26RC2 Support 9
G TCMD crash when copy Support 3
Joe Caverly DrawVLine results different in TCMD tab and detached TCC Support 11
Alpengreis [TCMD v25.00.24] Small space problem with the DE translation in Prefs-GUI Support 1
Alpengreis [TCMD v25.00.24] Problem with copy and paste and the # char via mouse in TCC Support 6
Jay Sage TCMD Crashes with "tctoolbar /c /r file" Support 5
nikbackm TCMD 25 - Unregister older TCMD version Support 2
G Documentation on TCMD.INI Support 9
R New Clear Buffer in TCMD Home Menu Support 2
CWBillow Back up TCMD tabs Support 2
CWBillow Upgrade Windows 10's effect on TCMD and TCC Support 3
DrusTheAxe TCMD 24.02.49 x64 crashed due to DivideByZero :-( Support 4
A After update to 24.02.49, helpfile tcmd.chm hangs when opened Support 0
David McClelland TCMD 24 & Perl - perl thinks it's own executable is ...\TCMD24\TCC.EXE??? Support 3
dcantor How to? Can 32-bit TCC be run on a system with 64-bit TCMD and TCC installed? Support 6
W pdir returns diff results between tcc and tcmd - one is an error msg Support 5
vefatica What's TCMD's problem with ^e[0m? Support 13

Similar threads