------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=975
           Summary: New signatures and functionalities to pcrecpp::Replace
                    and precpp::GlobalReplace
           Product: PCRE
           Version: 8.01
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: wishlist
          Priority: medium
         Component: Code
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Start using libpcrecpp I missed a way to pass a function pointer that will
return the substitution string to the replace functions and did a modification
to then that is backward compatible.

  bool Replace(const StringPiece& rewrite,
               string *str, Rewrite_Func rewrite_runc = NULL) const;

  int GlobalReplace(const StringPiece& rewrite,
                    string *str, Rewrite_Func rewrite_runc = NULL) const;

  bool Extract(const StringPiece &rewrite,
               const StringPiece &text,
               string *out, Rewrite_Func rewrite_runc = NULL) const;


-- 
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

-- 
## List details at http://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to