Good idea. I assume you want this for WidgetHTML.php? ;-)
- Stig
On Wed, 2002-06-12 at 14:26, Alan Knowles wrote:
Attached hopefully is the re2c source for a html tokenizer - I added it
to tokenizer.c - any thoughts on inclusion?
regards
alan
enum {
STATE_PLAIN =
Stig S. Bakken wrote:
Good idea. I assume you want this for WidgetHTML.php? ;-)
Yeah, I hopefully it would remove the need for preg_matching in there..
Will get back to this in a few days - want to clear off some other stuff...
regards
alan
- Stig
On Wed, 2002-06-12 at 14:26, Alan
Attached hopefully is the re2c source for a html tokenizer - I added it
to tokenizer.c - any thoughts on inclusion?
regards
alan
enum {
STATE_PLAIN = 0,
STATE_TAG,
STATE_NEXT_ARG,
STATE_ARG,
STATE_BEFORE_VAL,
STATE_VAL
};
/*!re2c
any =