OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Geoff Gibbs (ggibbs_at_hgmp.mrc.ac.uk)
Date: Mon Dec 02 2002 - 10:01:04 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    > It means a " then anything (. is the wildcard token) then a real dot
    > (escaped) then an extension. I'd still say my regexp would work, but I
    > can't test it because I don't use PCRE I don't know if you have to
    > escape " or not in PCRE.

    Don't forget that you can use postmap to test lookups.

    postmap -q 'test string' pcre:/path/to/file

    or use '-' for stdin :-

    postmap -q - pcre:/path/to/file
    test string
    ^D

    or

    postmap -q - pcre:/path/to/file < file.of.tests

    Geoff

    UK-Human Genome Mapping Project-Resource Centre,
    Hinxton, Cambridge, CB10 1SB, UK
    Tel: +44 1223 494530 Fax: +44 1223 494512 E-mail: G.Gibbshgmp.mrc.ac.uk