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

  • To: Donna Cote <d-cote@xxxxxxxx>
  • Subject: Re: [ldm-users] Negative look ahead/behind in pqact.conf?
  • From: Karen Cooper - NOAA Affiliate <karen.cooper@xxxxxxxx>
  • Date: Wed, 21 Jun 2017 12:22:03 -0500
Hi Donna,

I'm not sure if you care, but there are also some "R" radars -- Taiwan and
South Korean AFB radars that are available.

On Wed, Jun 21, 2017 at 11:30 AM, Donna Cote <d-cote@xxxxxxxx> wrote:

> 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> 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
> For list information or to unsubscribe,  visit:
> http://www.unidata.ucar.edu/mailing_lists/
>
>
>
> _______________________________________________
> 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/
>



-- 
“The presence of those seeking the truth is infinitely to be preferred to
the presence of those who think they’ve found it."
 -- Terry Prachett

-------------------------------------------
Karen.Cooper@xxxxxxxx

Phone#:  405-325-6456
Cell:   405-834-8559
National Severe Storms Laboratory
  • 2017 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the ldm-users archives: