[Qgis-user] regexp_match stopped working after update

emmexx emmexx at tiscalinet.it
Sun Dec 8 02:11:29 PST 2019


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.


More information about the Qgis-user mailing list