ocsigenserver icon indicating copy to clipboard operation
ocsigenserver copied to clipboard

Redirectmod is broken when the matched string is zero-length

Open glondu opened this issue 1 year ago • 3 comments

Since the switch to re, redirectmod (and anything else that uses Ocsigen_lib.Netstring_pcre.global_{replace,substitute}) is broken when the matched string is zero-length.

See https://github.com/ocaml/ocaml-re/issues/231

glondu avatar Oct 04 '23 04:10 glondu

@vouillon ?

balat avatar Nov 29 '23 15:11 balat

This is indeed a bug in Re.

balat avatar Dec 05 '23 16:12 balat

Fixed by ocaml/ocaml-re#233

vouillon avatar Dec 08 '23 16:12 vouillon