Skip to content

Support large number of licence variants

Working on porting the Krita licenses to SPDX format has added quiet a lot of variants for some licenses.

This is to the point where the regular expression needed to hold them all hit the PCRE size limit.

In order to avoid that, the implementation has been modified to use a list of QRegularExpression.

It is not one regular expression per list item but the biggest expression possible each time.

Merge request reports