On Tuesday, June 4, 2002, at 07:46 , Theuerkorn Johannes wrote:
> Thanks for support, found an easy to use mod in cpan: http://search.cpan. > org/search?mode=module&query=XML called XML-QL which seems to do just > what i need. always remember: "If It works for YOU it is THE answer...." probably the worst part about perl - there is really more than one way to play the game... the problem of course is figuring out which is your game to play. > Wasn´t able to work through your example at wetware until now. which is not really that surprising... when it is merely an 'intellectual' issue - about reading more data into a buffer to check the buffer for a pattern match, such is merely an intellecual exercise.... but when the data is of the form <myThingie> theValueOfMyThingie </myThingie> and you want to parse it out with a simple regEx of the form /<myThingie>\s*(.*)</myThingie>/ you have to have the multiline read of the input - not as some intellectual debate - but to make the code work.... note: I would have opted in your case for an xml play of the form: <testsystem val=Tester3 /> since that would have been easier to parse out to begin with. [..] >> http://www.wetware.com/drieux/pbl/RegEx/paraHablarRegular.txt >> >> where you need to keep reading in lines till your pattern matches. don't feel too bad - I have a hard time understanding me most of the time..... that's why I keep putting up the odd bits that I am not sure about - check what they really do - think about it - come back to it.... Try to remember that all my Opinions are Final, until upgraded. XML - the fastest way to make tag::val pairs badly.... http://www.wetware.com/drieux/CS/BIQ/CFH/FMML.html ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]