Commit Graph

4 Commits

Author SHA1 Message Date
avsm
b1de06d819 update to ocaml-pcre-7.0.2
* fix on non-native arch (sparc64)
* use OASIS configure_style to simplify port

From: Christopher Zimmermann <madroach@gmerlin.de>
2012-08-18 22:22:41 +00:00
sthen
2a6f9b3f23 fix dynamically linking against ocaml-pcre and some general cleanup, from
Christopher Zimmermann
2012-07-18 08:04:11 +00:00
jasper
a0492d2d5f - update to 6.2.5
from  Christopher Zimmermann
2012-05-22 11:46:40 +00:00
sthen
af4daa9c19 import ocaml-pcre; ok jasper@
This OCaml-library interfaces the PCRE (Perl-compatible regular expression)
library which is written in C. it can be used for matching regular expressions
which are written in the PERL style.
 
It is reentrant - and thus thread safe. This is not the case with the "Str"
module of OCaml, which builds on the GNU "regex"-library. Using reentrant
libraries also means more convenience for programmers. They do not have to
reason about states in which the library might be in.
 
The high-level functions for replacement and substitution, all implemented
in OCaml, are much faster than the ones of the "Str"-module. In fact, when
compiled to native code, they even seem to be significantly faster than
those of PERL.
2011-09-15 15:50:23 +00:00