Often media for batch media import is supplied with different punctuation than is used in a record identifier. In these cases the best way to find matches between media and their target record is to compare the filename and identifier without punctuation or spaces. For example:
media asset should match
Extend support for handling these cases via mediaObjectIdnoRegexes/mediaFilenameToObjectIdnoRegexes
Implemented in develop. Note that existing settings names have changed to make this more consistent. Check app.conf for media_filename_to_idno_matching (formerly mediaFilenameToObjectIdnoRegexes), media_filename_rewrites (formerly mediaFilenameReplacements) and media_idno_rewrites (formerly mediaObjectIdnoRegexes)
The format of configuration for media_filename_rewrites has changed significantly as well – this should now support what you need to do. If you have configuration with the old settings names, they'll still work fine. I just changed things around so it's consistent.
The only breaking change will be for media_filename_rewrites as how it actually works is now different, but no one was using mediaFilenameReplacements long term anyone (I think)