[GRASS-user] regex in wxGUI

Hello,

How can I select layers in the wxGUI when using CTRL+shift+L that does not contain a specific string ?

Thank you for your help.

Frank

It’s using Python regular expressions, so after some googling, something like this seems to work:
^(?:(?!string).)*$

Seems rather complicated, maybe you can find a simpler solution…

Anna

On Wed, Nov 30, 2022 at 3:25 AM Frank David <frank.david@geophom.fr> wrote:

Hello,

How can I select layers in the wxGUI when using CTRL+shift+L that does not contain a specific string ?

Thank you for your help.

Frank


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Hi Anna,

Thank you for the trick !

By the way, do you know how to do with g.list -e rast pattern=… ?

Regards,

Frank

···

Le 01/12/2022 à 05:00, Anna Petrášová a écrit :

It’s using Python regular expressions, so after some googling, something like this seems to work:
^(?:(?!string).)*$

Seems rather complicated, maybe you can find a simpler solution…

Anna

On Wed, Nov 30, 2022 at 3:25 AM Frank David <frank.david@geophom.fr> wrote:

Hello,

How can I select layers in the wxGUI when using CTRL+shift+L that does not contain a specific string ?

Thank you for your help.

Frank


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user