in reply to Stuck with RegEx (Parsing whois output)

This seems very similar to the syntax used by Config::Tiny where you have sections and key value pairs. Perhaps you could hack it to use your syntax, or change the syntax of your file slightly and just use it.

  • Comment on Re: Stuck with RegEx (Parsing whois output)

Replies are listed 'Best First'.
Re^2: Stuck with RegEx (Parsing whois output)
by marsch (Initiate) on Sep 28, 2004 at 14:03 UTC

    Hello,

    it is similar, indeed, but double key values of one section are overwritten. Additionally, it looks like the examples already provided and needs line-by-line processing.

    Thanks for your help

    Marco