Open vitoyucepi opened 5 months ago
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
Install method savonet/liquidsoap:v2.2.4
Common issues https://github.com/savonet/liquidsoap/discussions/3816#discussioncomment-8900996
Unfortunately, the backend we use for regexp does not (yet?) have support for unicode regexp: https://github.com/ocaml/ocaml-re/issues/24
Describe the bug Unicode characters could be split incorrectly when using Unicode character properties in regex.
To Reproduce
Expected behavior There should be no splitting of the word, which would result in a wrong Unicode sequence.
Version details
Install method savonet/liquidsoap:v2.2.4
Common issues https://github.com/savonet/liquidsoap/discussions/3816#discussioncomment-8900996