Currently, SATySFi uses OCaml's Str module as the regexp backend. But it has some drawbacks:
So, how about changing the regexp backend from Str to, say, ocaml-re? It supports large subsets of PCRE, has nice performance, and has no global states. Or, pcre-ocaml? It might be another choice not to have regexp primitives in the core, and use a library-implemented regexp engine, such as satysfi-base's.
Currently, SATySFi uses OCaml's
Strmodule as the regexp backend. But it has some drawbacks:So, how about changing the regexp backend from
Strto, say,ocaml-re? It supports large subsets of PCRE, has nice performance, and has no global states. Or,pcre-ocaml? It might be another choice not to have regexp primitives in the core, and use a library-implemented regexp engine, such as satysfi-base's.