Le 22/12/2011 19:39, oliver a écrit : > where is there a documentation about these kind of errors from pcre-lib? > I'm using Pcre.pmatch, which should just give me a bool.
See pcre.mli. Pcre.Error(0) is the raw representation of Partial (i.e. string only matched the pattern partially). By the way, in doubt, you can catch Pcre.Error and pattern-match on its argument. Cheers, -- Stéphane -- Caml-list mailing list. Subscription management and archives: https://sympa-roc.inria.fr/wws/info/caml-list Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports: http://caml.inria.fr/bin/caml-bugs
