Is there a "php compatible" pcre library for delphi? PHP has some extensions over the standard PCRE library I think. The aim is for a Delphi program to read / use / share an existing set of regular expressions written for php. Ideally without the use of extra DLLs.

Comments

  1. Delphi's inbuilt regular expressions are PCRE. What specific expressions do you have which don't work with it?

    Ie, you may find that your expressions don't use any PHP extensions after all, or if they do, knowing /which/ extensions would be useful knowledge when searching for another library.

    The only info I found on differences is this: http://php.net/manual/en/reference.pcre.pattern.differences.php
    and that seems to be small implementation differences or specific syntax bugs, not extensions in functionality.

    ReplyDelete

Post a Comment