in reply to multi line regex
Otherwise, there are just too many ways in which you can be tripped - tags with extra white space, tags with newlines, quotes missing or present in unexpected places, escaping of this, that or the other thing, javascript code fooling you into thinking you're in another tag when you really aren't, etc.
Second, you're trying to extract data from an HTML table using regex. Don't do that. Use HTML::TableExtract instead. It will save you a LOT of hairpulling.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: multi line regex
by metalfan (Novice) on Jan 18, 2006 at 17:51 UTC | |
by matija (Priest) on Jan 18, 2006 at 23:02 UTC |