in reply to Re: Re: Removing html comments with regex
in thread Removing html comments with regex
It's easier because it's already written, it works, and you don't have to know how it works to use it.
The problems with regular expressions and HTML is that HTML isn't required to be regular. It's not hard to write a simple regex that processes simple HTML, but it's easy to write realistic HTML that a regex won't process.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Removing html comments with regex
by Ovid (Cardinal) on Aug 23, 2003 at 06:15 UTC |