in reply to Re: Broken News- Reg. Exp.
in thread Broken News- Reg. Exp.

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re^3: Broken News- Reg. Exp.
by Aristotle (Chancellor) on Aug 31, 2004 at 21:35 UTC

    Ok, here's my answer, spending about as much time understanding the code as the OP (you?) spent breaking down the issue:

    Don't use regexes to lift content from HTML. Use a HTML parsing module. HTML::TokeParser::Simple is highly recommended, but other equally worthwhile ones also exist.

    Makeshifts last the longest.

Re^3: Broken News- Reg. Exp.
by antirice (Priest) on Aug 31, 2004 at 15:57 UTC
    Pot, meet kettle.

    antirice    
    The first rule of Perl club is - use Perl
    The
    ith rule of Perl club is - follow rule i - 1 for i > 1