Skip to content
Advertisement

Tag: xonsh

My code is confusing an input file name for a regex expression

My regular expression does not explicitly include a dash in a character range, but my code fails when the input file name is like this: Here is my code: It seems obvious that this part of the filename is the issue: [Maxi-Single] How do I handle filenames similar to that so that they are treated as fixed strings, not part

Advertisement