I'm not sure what they meant exactly by "this can be changed to support regular expressions." - whether I as user can change it, or whether if there are enough requests the devs might change it.
However, as far I can see from https://github.com/FreeCAD/FreeCAD/blob ... p.cpp#L430 - getObjectsByLabel only supports a plain string as an argument.
And on https://github.com/FreeCAD/FreeCAD/blob ... p.cpp#L447, it says that findObjects does accept a regex, however, it seems to search object names, not object labels.
So is there a function that I could use from Python, that does getObjectsByLabel but with a regex (without having to change C++ source code, that is)?