On 11/5/07, Frank Bergemann <[EMAIL PROTECTED]> wrote:

> I would like to extract with this:
>
> [...]
> APNID   PDPADD                EQOSID  VPAA  PDPCH    PDPTY  PDPID
> (?:[ ]+(\\d+)[ ]+(\\d+)[ ]+NO[ ]+IPV4[ ]+(\\d+)\\n)*
> [...]

What is that? Is it a piece of a regular expression? Why do you double
the backslashes?

It's not clear to me how you're writing your code. Do you read in
large chunks (more than a line at a time) to parse with a pattern? If
you read one line at a time, you won't be able to match more than one
line.

Can you make a standalone program that shows your problem? The
standalone program would use hard-coded data, instead of getting it
from a server, so it would show us how you're trying to parse it.

Cheers!

--Tom Phoenix
Stonehenge Perl Training

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to