News for hackers. Stuff that matters.
Re:Rulex – A new, portable, regular expression language by ankitpati on Friday June 10, 2022 @06:56AM (#31692358)
Not a single other implementation has feature-parity with Perl. Perl regexes are not only Turing-complete, but can also execute arbitrary code¹ as part of the regex evaluation.

PCRE is the pinnacle of deceptive advertising. It is emphatically not Perl-Compatible.

Source: I used to write Perl for a living, and I have battle scars from (¹) above.

Re:Rulex – A new, portable, regular expression language by macintux on Friday June 10, 2022 @07:52AM (#31692763)
When Sun released Java and went on a marketing road show, I drove to Chicago to hear the presentation. Since Perl was my favorite language, I had to ask about regular expression support; the Sun engineer said there wasn’t any, but I could build the first library.

To me, it was inconceivable that you could release a major language and not only not have regular expressions built into the language like Perl, but not even have it in the standard library. Crazy.

Re:Rulex – A new, portable, regular expression language by latchkey on Friday June 10, 2022 @01:36PM (#31697138)
When I found out that Jonathan Locke had even a minimal Java implementation of a regex engine, I jumped on it and messaged him to open source it to the Jakarta project. Crazy that that was 20 years ago...

https://jakarta.apache.org/regexp/changes.html

Re:Rulex – A new, portable, regular expression language by burntsushi on Friday June 10, 2022 @08:07AM (#31692890)
We did the same thing for Rust. Regexes are neither in the language nor in the standard library. Go doesn't have them in the language either (although they're in the standard library).
Re:Rulex – A new, portable, regular expression language by macintux on Friday June 10, 2022 @08:43AM (#31693265)
Rust wasn’t trying to become the standard web programming language.
Re:Rulex – A new, portable, regular expression language by burntsushi on Friday June 10, 2022 @08:52AM (#31693364)
I didn't realize that was a necessary precondition in your evaluation of what makes something "crazy." Sorry.
Re:Rulex – A new, portable, regular expression language by macintux on Friday June 10, 2022 @09:08AM (#31693561)
Sorry, early morning. I should have been more verbose.

Rust has a different target problem space, a different standard library philosophy, a package management system, and exists in a world where adding external dependencies is trivial.

Java didn’t have any of those excuses.

Re:Rulex – A new, portable, regular expression language by oblio on Friday June 10, 2022 @08:56AM (#31693410)
Well, Java turned out quite all right on that front :-)