ocaml / ocaml-re

Pure OCaml regular expressions, with support for Perl and POSIX-style strings
Other
232 stars 60 forks source link

PCRE: Extended quotes (\Q...\E) and octal ascii characters (\000) support #295

Closed kit-ty-kate closed 2 months ago

kit-ty-kate commented 3 months ago

The pcre module doesn't seem to support extended quotes (\Q...\E) or octal ascii characters (\000), which seems to be part of its specification http://www.pcre.org/pcre.txt

If the Prce module is only meant to support a subset of PCRE, i think it would at least be nice to note that in the module documentation somewhere

glondu commented 3 months ago

README already says that "a subset of the PCRE interface" is supported.

kit-ty-kate commented 3 months ago

fair enough. In that case i've opened https://github.com/ocaml/ocaml-re/pull/296 to make that clear in the mli too