I'm new to free pascal and there's no docs on the regular expressions stuff. So - can someone write 2 functions for me to ge me started?

function RegexMatch (St : Ansistring; regex : Ansistring) : boolean;

function RegexSubstitute (St : AnsiString; regex : AnsiString, newRegex : AnsiString) : String;

Something equivelent to Perl's 's/regex/newRegex/g'

--
Marc Perkel - [EMAIL PROTECTED]

Spam Filter: http://www.junkemailfilter.com
   My Blog: http://marc.perkel.com
My Religion: http://www.churchofreality.org
~ "If it's real - we believe in it!" ~



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

Reply via email to