https://doc.qt.io/qt-6/qregularexpression.html#details
—this section is based on the
information provided there