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.
In reply to Re: Stuck with RegEx (Parsing whois output)
by cfreak
in thread Stuck with RegEx (Parsing whois output)
by marsch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |