Presenting Durito: (proposed) XML document publishing and searching system

2001-05-13 Thread ahg
(apologies for cross-posting) Hi, I'd like to invite the subscribers of this list to check out a proposal for a new open-source XML project: DURITO, a flexible XML- and RDF-based framework for publishing and searching within documents in Web and CD-ROM environments. The general idea is to

REGEX question / delete tags

2001-05-13 Thread Kristofer Wolff
hi all, i have a problem with a table i want to read out.. I have to deleate all the tag first. (HTML::Parser or else issnt reading tables, issn't it ? ) so I tryed this $parts[2] =~ s/.?[td|table|tr](.*)//g; but it kills all ! hm, ??? hoq do i do this ? greets ven

Re: REGEX question / delete tags

2001-05-13 Thread Ron Grabowski
$parts[2] =~ s/.?[td|table|tr](.*)//g; [] is a character class, you are telling Perl to match a 't' or a 'd' or a '|' or an 'a', etc. $parts[2] =~ s/.?(?:td|table|tr)(.*?)//g; Should fix the problem of everything being deleted. I recall there being a HTML::TableExtract module which you could