We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With re 1.11.0, the following:
Re.(replace Pcre.(regexp "^$") ~f:(fun _ -> assert false) "")
returns "". Is it expected? According to me, there is one match (even though it is zero-length), so f should be called once.
""
f
Another variation of the phenomenon:
Re.(all Pcre.(regexp "^$") "")
returns the empty list.
The text was updated successfully, but these errors were encountered:
This is fixed by #233.
Sorry, something went wrong.
dedd0c6
No branches or pull requests
With re 1.11.0, the following:
returns
""
. Is it expected? According to me, there is one match (even though it is zero-length), sof
should be called once.Another variation of the phenomenon:
returns the empty list.
The text was updated successfully, but these errors were encountered: