Objective Caml Programs


Contents

Regexp/OCaml: A syntax extension for regular expression match

Regexp/OCaml provides convenient syntax sugar for regular expression match for strings using PCRE/OCaml library. The features of this macro package are the following:

A regular expression which appears in the source file will be evaluated only once; it is pre-compiled before actual execution and then cached. The package contains a small macro, called "once", makes any value to be evaluated only once.

Files

Changes