Menu

#2088 Add PCRE regexps and convert file filtering to PCRE

Trunk
closed-accepted
5
2006-11-07
2006-11-06
Kimmo Varis
No

I finally got PCRE 6.7 to build as DLL and integrated
with WinMerge.

This patch contains /Src changes to convert file
filtering code to use PCRE. Biggest changes is that we
must convert unicode strings to UTF-8 as PCRE supports
UTF-8. For that I created new files (Ucs2Utf8.h and
Ucs2Utf8.h) which contain conversion routines between
UCS-2 and UTF-8 (both directions). I didn't write those
functions, but copied them from some other file.

About PCRE. Luckily, PCRE builds without changes to
distributed sources. There is one (?) added header
file. And project files needed.

As usual with recent lib additions, I'll update build
instructions once I commit these changes.

Discussion

  • Kimmo Varis

    Kimmo Varis - 2006-11-06

    Original and altered files

     
  • Kimmo Varis

    Kimmo Varis - 2006-11-07

    Logged In: YES
    user_id=631874

    Committed to SVN.
    Completed: At revision: 3785

    I've added PCRE to /Externals/pcre.
    And updated build instructions in
    /Docs/developers/readme-developers.html

     
  • Kimmo Varis

    Kimmo Varis - 2006-11-07
    • assigned_to: nobody --> kimmov
    • status: open --> closed-accepted
     

Log in to post a comment.