4. RegExes, especially complex ones, are usually orders of magnitude slower than straight Pascal, because they're usually interpreted at runtime by a parser.

They could possibly be preprocessed if assigned to a constant, although I've not tried doing this.

If you modify the RegExp-parsing source code AND implement it in the FPC compiler sources to do that, sure.



_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to