in reply to RE: A grammar for HTML matching
in thread A grammar for HTML matching
I'm working on this. Having never written a BNF form grammar, It'll take me a while to put it all together. I'm playing with Parse::RecDescent to do this. I'm having conceptual problems in coming up with a syntax that encompasses all the features I want, and trying to find ideas for features I haven't thought of. For instance, say I want to grab everything between two comments? Also say I want to expand the match to include tags that start immediately preceeding the match and close immediately following it. i.e. <b><center>...match...</center></b> I want to suck in the surrounding <center> and <b> tags.
Ideas anyone? What do you want to match?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: RE: A grammar for HTML matching
by clemburg (Curate) on Nov 02, 2000 at 18:48 UTC | |
by merlyn (Sage) on Nov 02, 2000 at 19:00 UTC |