Welcome!

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

SignUp Now!

Fixed Functionality broken with v54

Jun
223
0
The following used to work in v53 but it does no longer in v54:

for %i in ("::^20\d{10,10}.*.dat$") echo "%i"
 
Echoes all filenames matching the regex. Interpreting the regex gives us...
  1. start filename - ^
  2. two numbers 20 - 20
  3. ten digits - \d{10,10}
  4. any number of any characters - .*
  5. any character - .
  6. three letters dat - dat
  7. end filename - $
Doesn't appear to have any double dots in it for the TCC parser to read incorrectly. I'm on my tablet so can't try it.
 
Something changed. REs seem quite broken. For example,
Code:
dir "::jibberish"
gives me "147,019,313 bytes in 132 files and 13 dirs" and none of the names contain a match.

With the same command in the same place, TC13 tells me there are no files.
 
Still not fixed!

Given the following two files:

201301141052_pcben.dat
201301141100_pcben.dat

for %i in ("::^20\d{10,10}.*.dat$") echo [%i]

only displays

[201301141052_pcben.dat]

Before v54 it would display both files.
 
Back
Top
[FOX] Ultimate Translator
Translate