fix usage of sedlex and upgrade to sedlex 3.5
The upcoming release of sedlex (https://github.com/ocaml/opam-repository/pull/27959) revealed a bug in styled-ppx. Utf8 literals in sedlex patterns was previously not working. The non_ascii pattern also triggered a compile time error with sedlex 3.5. Its definition was suspicious and I attempted to fix it according to the spec.
See the opam release https://github.com/ocaml/opam-repository/pull/27959
See the sedlex PR adding support for utf8 litterals and adding more checks https://github.com/ocaml-community/sedlex/pull/127
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| styled-ppx | ⬜️ Ignored (Inspect) | Visit Preview | Jun 2, 2025 8:22am |
Thanks hugo. Will merge and add a few unit tests.