On Mon, Apr 27, 2020 at 11:01 AM Sergei Golovan <sgolo...@gmail.com> wrote: > Looks like changes in Erlang regular expressions library broke Elixir > again. Elixir stores internal binary representation of regular > expressions in its compilation phase, and it breaks when Erlang > changes this representation (which happens now and then, since it > isn't supposed to be stable). > > I've already added a virtual package which reflects the version of the > PCRE library Erlang uses (to indicate that Elixir requires > rebuilding), but clearly it's insufficient. I'll have to increment its > version on changes in erl_bif_re.c as well. > > As a long term solution, I'd suggest the maintainer of Elixir to reach > out downstream and suggest not to use unstable interfaces fro regular
Sorry, I meant upstream here. > expressions (not precompile them in advance). Also, it seems like Elixir upstream did some enhancements in this area. See the changelog to 1.9.2: https://github.com/elixir-lang/elixir/releases/tag/v1.9.2 Cheers! -- Sergei Golovan