in reply to Re: Stuck with RegEx
in thread Stuck with RegEx (Parsing whois output)

Hi,

thanks for your help. Definitely, this would be fine. But my aim is to tune the Net::XWhois module, especially the DENIC parser. The engine parses the input with one regex:

@matches = $self->{ Response } =~ /${$self->{Parser}}{$key}/sg;

This is why I feel bound to that =~ m/.../sg structure. Otherwise I had to rewrite the complete code in order to capture the distinct whois responses...