1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Functionality broken with v54

Discussion in 'Support' started by nickles, Jan 11, 2013.

  1. nickles

    Joined:
    Jun 24, 2008
    Messages:
    220
    Likes Received:
    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"
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,868
    Likes Received:
    83
    What is that supposed to do?

    (Nothing changed in the RE handling between build 53 and 54.)
     
  3. JohnQSmith

    Joined:
    Jan 19, 2011
    Messages:
    559
    Likes Received:
    7
    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.
     
  4. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,969
    Likes Received:
    30
    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.
     
  5. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,868
    Likes Received:
    83
    It's not RE's, it's happening (sometimes) when qualifying the filename (and prefixing the default path). It's fixed in build 55 (already uploaded).
     
  6. nickles

    Joined:
    Jun 24, 2008
    Messages:
    220
    Likes Received:
    0
    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.
     
  7. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,868
    Likes Received:
    83
    Try it with build 58 (already uploaded).
     
  8. nickles

    Joined:
    Jun 24, 2008
    Messages:
    220
    Likes Received:
    0
    Hi Rex,

    working now.

    Thanks!
     

Share This Page