in reply to Example of brainfog (Was: inconsistent regex matching)
Parsing HTML by hand is always fragile, and in my experience never ends well. Have you considered a module like HTML::TreeBuilder and then use its look_down method to select just the elements you're interested in?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Example of inconsistent regex matching
by ww (Archbishop) on Nov 22, 2015 at 00:08 UTC | |
by 1nickt (Canon) on Nov 22, 2015 at 13:55 UTC |