Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: lookaround assertions

by nmcfarl (Pilgrim)
on Apr 01, 2004 at 18:13 UTC ( #341727=note: print w/replies, xml ) Need Help??

in reply to lookaround assertions

If this isn't a one off I'd really look into HTML::PARSER . It makes retrieving tag attributes quite simple. And it's designed to do this job. Of course it could be overkill, but I tend to think the Module use makes for more readable code than regex abuse.

Replies are listed 'Best First'.
Re: Re: lookaround assertions
by Anonymous Monk on Apr 02, 2004 at 04:52 UTC
    no, actually this particular project required quite an elegant regex. i ended up not mixing together regexes for both input and select tags, but I wrote routines for select tags to run separately. so far so good. thank you for all suggestions!

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://341727]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2023-01-28 10:53 GMT
Find Nodes?
    Voting Booth?

    No recent polls found