Update: C++ now has regex support, so use it across all platforms.
Generalize to "pattern matching", which allows matching strings to patterns. One kind of patterns are regexes, another a OS-style globs (with ? and *). This done, the directory and file dialog filters can be switched to use the "glob pattern matcher").
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Update: C++ now has regex support, so use it across all platforms.
Generalize to "pattern matching", which allows matching strings to patterns. One kind of patterns are regexes, another a OS-style globs (with ? and *). This done, the directory and file dialog filters can be switched to use the "glob pattern matcher").