It would be nice to export G_REGEX_COMPILE_MASK and G_REGEX_MATCH_MASK
Submitted by Hadriel Kaplan
Link to original bug (#725071)
Description
It's not a big deal, but it would be nice if the macros G_REGEX_COMPILE_MASK and G_REGEX_MATCH_MASK were exposed/exported for users of the lib.
The reason is: the assertion check for the option validity of the compile/match flags causes a relatively low-level and ugly fail, for higher-level apps which use glib. So it would be nice if the higher-level app can check the options they're going to pass before they call g_regex_*() - in particular when the higher-level app lets even higher-level things like Python/JS/Lua pass those option flags from their layer. So if these two masks were exposed, the app could use them to check for valid option flags.
Version: 2.38.x