[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grass-user
Subject:    Re: [GRASS-user] regex in wxGUI
From:       Frank David <frank.david () geophom ! fr>
Date:       2022-12-01 9:22:24
Message-ID: 3b5e1bf8-3f6f-2491-9ad3-fd01a9abee01 () geophom ! fr
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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
>
[Attachment #5 (text/html)]

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><font face="Lato">Hi Anna,</font></p>
    <p><font face="Lato">Thank you for the trick ! <br>
      </font></p>
    <p><font face="Lato">By the way, do you know how to do with g.list
        -e rast pattern=.... ?</font></p>
    <p><font face="Lato">Regards,</font></p>
    <p><font face="Lato">Frank<br>
      </font></p>
    <div class="moz-cite-prefix">Le 01/12/2022 à 05:00, Anna Petrášová a
      écrit  :<br>
    </div>
    <blockquote type="cite"
cite="mid:CAE0EDEqGmiVP0owut9+Pvswz9d=J-1GGEZwJDpu_TXZ7mMBLzA@mail.gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>It's using Python regular expressions, so after some
          googling, something like this seems to work:</div>
        <div>^(?:(?!string).)*$<br>
        </div>
        <div>Seems rather complicated, maybe you can find a simpler
          solution...</div>
        <div><br>
        </div>
        <div>Anna</div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Wed, Nov 30, 2022 at 3:25
            AM Frank David &lt;<a href="mailto:frank.david@geophom.fr"
              moz-do-not-send="true" class="moz-txt-link-freetext">frank.david@geophom.fr</a>&gt;
            wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">
            <div>
              <p><font face="Lato">Hello,</font></p>
              <p><font face="Lato">How can I select layers in the wxGUI
                  when using CTRL+shift+L that does not contain a
                  specific string ?</font></p>
              <p>Thank you for your help.</p>
              <p>Frank</p>
            </div>
            _______________________________________________<br>
            grass-user mailing list<br>
            <a href="mailto:grass-user@lists.osgeo.org" target="_blank"
              moz-do-not-send="true" class="moz-txt-link-freetext">grass-user@lists.osgeo.org</a><br>
            <a
              href="https://lists.osgeo.org/mailman/listinfo/grass-user"
              rel="noreferrer" target="_blank" moz-do-not-send="true"
              class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
          </blockquote>
        </div>
      </div>
    </blockquote>
  </body>
</html>


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic