Fix ABD regex for certain filenames