Open Dialog Pattern

I’m thinking that there is not, but I just came up with a requirement to select files that meet a particular filename pattern… NOT just the extension

Specifically, allow only the selection of @2x or @3x images. so the file would have to meet “xxxx@2x.png” for example
I realize I can check the filename after it has been selected, but I’d rather if possible not allow it to be selected at all

Fallback is roll my own dialog, but then it deviates from the OS standard “look/feel”