This is a fork of Scintilla to include other regular expression engines.
You can switch among:
The built-in regular expression implementation is used by default.
enu RegexImplProperty=SC_REGEX_ val SC_REGEX_DEFAULT=0 val SC_REGEX_PCRE=1 val SC_REGEX_RE2=2 val SC_REGEX_TRE=3 val SC_REGEX_ICU=4 val SC_REGEX_BOOST=5 val SC_REGEX_STD=6 # Set the implementation of regular expressions to be used. set void SetRegexImpl=4027(int regexImpl,) # Get the implementation of regular expressions that is used. get int GetRegexImpl=4028(,)
The project is available in the folder
vcbuild. Necessary files are built to the
target directory of the solution you added the project to. The original batches
delbin have been updated.
I recommend you placing sources of SciTE next to Scintilla's and the regular
expression libraries and build all using the MS VS solution (
.sln file) from SciTE.
You should clone them this way (to the same directory):
hg clone -b regex http://hg.code.sf.net/u/prantl/scintilla scintilla hg clone -b regex http://hg.code.sf.net/u/prantl/scite scite hg clone -b vcbuild https://bitbucket.org/prantlf/pcre pcre hg clone -b vcbuild https://bitbucket.org/prantlf/re2 re2 git clone -b vcbuild https://github.com/prantlf/tre.git tre
If you choose different name than
scintilla you'll have to update the solution for
building SciTE. The branch
vcbuild contains the vanilla Scintilla with the MS VS
project and no other changes. (Other branches contain additional changes.) Se also the
README.md in the SciTE repository for the building instructions.
Before you start building you'll have to download and compile ICU and Boost. Go to the
parent directory of the folder where you cloned the sources listed above:
mv bin/ ../bin; mv lib/ ../lib
README to learn how to build and use the original Scintilla. You can build this
branch the traditional way too.