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

Incorrect handling of non-ascii characters in regex #3824

Open
vitoyucepi opened this issue Mar 25, 2024 · 1 comment
Open

Incorrect handling of non-ascii characters in regex #3824

vitoyucepi opened this issue Mar 25, 2024 · 1 comment

Comments

@vitoyucepi
Copy link
Collaborator

Describe the bug
Unicode characters could be split incorrectly when using Unicode character properties in regex.

To Reproduce

r/\PL+/.split("revolución")

Expected behavior
There should be no splitting of the word, which would result in a wrong Unicode sequence.

Version details

  • OS: Debian in docker
  • Version: 2.2.4-1

Install method
savonet/liquidsoap:v2.2.4

Common issues
#3816 (reply in thread)

@toots
Copy link
Member

toots commented Mar 26, 2024

Unfortunately, the backend we use for regexp does not (yet?) have support for unicode regexp: ocaml/ocaml-re#24

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

2 participants