in reply to Re: Problem with parsing HTML with Regex's
in thread Problem with parsing HTML with Regex's
Without a sample line that is going wrong, this is just a shot in the dark, but does replacing each .*? with ^=* and putting \b before and after img, a, and link help?[^=]* is not much better than .*?. "A" is not "=", "B" is not "=", "C" is not "=", "D" is not "=", .... Since he's parsing html, he should replace .*? with \s* (regular expressions are easy to write if you know precisely what you're matching).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Problem with parsing HTML with Regex's
by Anonymous Monk on Nov 10, 2003 at 08:02 UTC |