Caleb PorzioHost
So in Alpine, the looping directive, like in View, it's V4, where it's like item in items, you know? And there's a space between item and in and items.

Well, this person has a Rust macro in their app that minifies all sorts of things, I guess, and technically it is valid JavaScript to not have that space and wrap the other two, like, things in parentheses, and it's tripping up Alpine, his Rust macro.

So this person decided to pull request a different regex to Alpine so that his Rust macro doesn't break Alpine.

So this is interesting because I merged it, and it's like, why did I merge this? Because it's, uh, like this affects one person, and it's caused by their custom Rust macro in their app.

Now, I merge this, and it's a fundamental regex change to X4 in Alpine, causing untold number of breakages for existing users of Alpine.

You know, they changed an /s to a /b, so instead of breaking the regex on a, or splitting it on a space, you're splitting it on word groups, and maybe there's some character that I don't know about and whatever, right? So it's like...

I can only hear his name in Australian because Josh Hanley always is, says it that way.

He said, "I get it, but, like, why?" [chuckles] And then the guy explains the Rust macro.
Read the full transcript.
Create an account to read the whole episode, search across every transcript, and follow the shows you care about.