Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirectmod is broken when the matched string is zero-length #232

Open
glondu opened this issue Oct 4, 2023 · 3 comments
Open

Redirectmod is broken when the matched string is zero-length #232

glondu opened this issue Oct 4, 2023 · 3 comments

Comments

@glondu
Copy link
Contributor

glondu commented Oct 4, 2023

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 ocaml/ocaml-re#231

@balat
Copy link
Member

balat commented Nov 29, 2023

@vouillon ?

@balat
Copy link
Member

balat commented Dec 5, 2023

This is indeed a bug in Re.

@vouillon
Copy link
Member

vouillon commented Dec 8, 2023

Fixed by ocaml/ocaml-re#233

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants