I used for a long time the following expression to select features on a
layer:
regexp_match( "myField" ,'.*\\b(2|9)\\b.*')
myField values are numbers separated by a comma (e.g. 3,43,87.)
I used it successfully last week too.
2 or 3 days ago I updated qgis to 3.10.0 and that expression stopped
working.
Other expressions work as expected:
regexp_match( "myField" ,'43')
The example expression inside the expression editor has a different
result yet:
regexp_match('QGIS ROCKS', '\\sROCKS') gives me 5 while the online help
says it should give 4.
Any suggestion?
Thank you
maxx
p.s. I use qgis on Archlinux.
_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user