Menu

#53 Escape level regex.

Accepted
nobody
None
Medium
Filesearch
Defect
2012-08-22
2010-01-01
Anonymous
No

Originally created by: dcn...@gmail.com

When running mythvideo-scanner.pl on directory that contains filenames
containing regex pattern characters the regex may cause the script to fail.

e.g. Files that contain hyphens fail with an "invalid range" error.

Discussion

  • Anonymous

    Anonymous - 2010-01-03

    Originally posted by: brandon....@gmail.com

    (No comment was entered for this change.)

    Status: Accepted

     
  • Anonymous

    Anonymous - 2012-08-22

    Originally posted by: eido...@gmail.com

    I believe I have this problem. My video collection uses brackets in the filenames for numerous info. [crc] etc..

    Scanner failed on very fist file trying a --dryrun.

    Error:
    Invalid [] range

    Guess I'll check back and try again if this gets any love.

     

Log in to post a comment.

MongoDB Logo MongoDB