Hi Felix,
I can confim the issue is a regression, as the expression works correctly with QGIS 3.20.3 and previous versions, while it doesn't since QGIS 3.22.0. It seems to me this issue is a side effect of the "migration" from QRegExp to QRegularExpression.

I've submitted the PR https://github.com/qgis/QGIS/pull/50124 which fixes this issue, according to my tests.

Regards.

Andrea Giudiceandrea

Il 06/09/2022 14:52, flatoram via QGIS-Developer ha scritto:
Hi,

I have some problems with the expression editor for styling and other expressions. I found a related issue to this problem on github: https://github.com/qgis/QGIS/issues/47957
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to