If we start adding this to some tools, it would start to make sense to support it at the source.
Namely, conversion functions are a bit annoying, and it's always possible to fuck it up. Plus, same code twice = same bugs. Is there anything preventing us from adding non-standard flags to regcomp(3) and do it directly there ?