NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [ldm-users] Negative look ahead/behind in pqact.conf?

You are correct. I don't see a copy of your suggestion to the list or to
Matthew so I'll include a copy.


On Wed, Jun 21, 2017 at 11:46 AM, <Steven.Chiswell@xxxxxxxxxxxx> wrote:

> Donna,
>
> I think you would want to amend your 2nd suggestion to:
> (K[^E]|KE[^A]|KEA[^X])
>
>
> Otherwise, something like KCAE would fail.
>
> Chiz
>
>
> From:        Donna Cote <d-cote@xxxxxxxx>
> To:        Matthew Foster - NOAA Federal <matthew.foster@xxxxxxxx>
> Cc:        LDM <ldm-users@xxxxxxxxxxxxxxxx>
> Date:        06/21/2017 12:32 PM
> Subject:        Re: [ldm-users] Negative look ahead/behind in pqact.conf?
> Sent by:        ldm-users-bounces@xxxxxxxxxxxxxxxx
> ------------------------------
>
>
>
> Howdy Matthew,
>
> What has worked for me before is using two regex lines. I haven't tested
> this out myself.
>
> NNEXRAD   ^(SDUS[234578].) (P|T)(...) (..)(..)(..)
>         Exec.....
>
> NNEXRAD   ^(SDUS[234578].) ([K])([^E][^A][^X]) (..)(..)(..)
>         Exec..... (be certain this action is exactly the same as for the
> other regex)
>
> This should give you
>    1) everything that starts with P or T, then
>    2) the that start with K except "KEAX".
>
> Good luck, Donna
>
> On Jun 21, 2017 9:14 AM, "Matthew Foster - NOAA Federal" <
> *matthew.foster@xxxxxxxx* <matthew.foster@xxxxxxxx>> wrote:
> Does the regex engine in pqact support negative look ahead/behind?  I have
> a pattern that grabs all radars from NOAAPORT like so...
>
> NNEXRAD   ^(SDUS[234578].) (K|P|T)(...) (..)(..)(..)
>
> I want it to match everyone *except* KEAX.
>
> Thanks for any suggestions.
>
> Matt
>
>
> --
> Matt Foster, Science & Operations Officer
> NWS Operations Proving Ground
> 7220 NW 101st Terrace
> Kansas City, MO 64153
> Office: 816-268-3113
>
>
>
> _______________________________________________
> NOTE: All exchanges posted to Unidata maintained email lists are
> recorded in the Unidata inquiry tracking system and made publicly
> available through the web.  Users who post to any of the lists we
> maintain are reminded to remove any personal information that they
> do not want to be made public.
>
>
> ldm-users mailing list
> *ldm-users@xxxxxxxxxxxxxxxx* <ldm-users@xxxxxxxxxxxxxxxx>
> For list information or to unsubscribe,  visit:
> *http://www.unidata.ucar.edu/mailing_lists/*
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.unidata.ucar.edu_mailing-5Flists_&d=DwMBAg&c=ODFT-G5SujMiGrKuoJJjVg&r=EO9-RoN76tYjglJUt1Fz1w&m=NWzQAaPGnwTGtpnSUjBGMu1x1T6zko4paT3NgoITOAs&s=ZpJonljb2UiGg3gPq3Eca8SqelpHUQzFEbNLMy4s0yI&e=>
> _______________________________________________
> NOTE: All exchanges posted to Unidata maintained email lists are
> recorded in the Unidata inquiry tracking system and made publicly
> available through the web.  Users who post to any of the lists we
> maintain are reminded to remove any personal information that they
> do not want to be made public.
>
>
> ldm-users mailing list
> ldm-users@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit:
> http://www.unidata.ucar.edu/mailing_lists/
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.unidata.ucar.edu_mailing-5Flists_&d=DwMBAg&c=ODFT-G5SujMiGrKuoJJjVg&r=EO9-RoN76tYjglJUt1Fz1w&m=NWzQAaPGnwTGtpnSUjBGMu1x1T6zko4paT3NgoITOAs&s=ZpJonljb2UiGg3gPq3Eca8SqelpHUQzFEbNLMy4s0yI&e=>
>
>


-- 
Donna Cote
Academy for Advanced Telecommunications and
   Learning Technologies
Texas A&M University
  • 2017 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the ldm-users archives: