[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[LDM #HMT-769641]: Regular expression for pqact.conf



Hi Hsie,

re:
> I need help for a pqact.conf entry:
> 
> CONDUIT .*onedeg.*\/(20..........)\/(F...)
> FILE    data/gfs_onedeg/\1_\2
> 
> 
> and I keep getting:
> 
> Aug 18 16:56:43 rainbow pqact[20635] WARN: Adjusting pathological
> regular-expression at line 1127: ".*onedeg.*\/(20..........)\/(F...)"
>
> How can I get rid of the warning message??

Change your pqact.conf entry to look like:

CONDUIT onedeg.*\/(20..........)\/(F...)
     FILE    data/gfs_onedeg/\1_\2

The pathological part of the regular expression is the leading '.*' in
your pattern.  It is not needed, so deleting it will harm nothing, and
the regular expression parser will run faster.


Cheers,

Tom
****************************************************************************
Unidata User Support                                    UCAR Unidata Program
(303) 497-8642                                                 P.O. Box 3000
address@hidden                                   Boulder, CO 80307
----------------------------------------------------------------------------
Unidata HomePage                       http://www.unidata.ucar.edu
****************************************************************************


Ticket Details
===================
Ticket ID: HMT-769641
Department: Support LDM
Priority: Normal
Status: Closed