[fpc-pascal] fast text processing

L L at z505.com
Thu Nov 1 12:33:53 CET 2007



> >
> > No more strlen:
> > http://www.hu.freepascal.org/fpcircbot/cgipastebin?msgid=1432
> 

This doesn't work if you have spaces in front of the < tags >

  <sometag>
      <sometag>

I'm not sure if the Perl one fails too though.
I don't have perl installed and can't test it ;-)

A real parser doesn't care  about whitespace in front.
And will be a bit slower.. because of that check.

L505



More information about the fpc-pascal mailing list