News for hackers. Stuff that matters.
Re:A Perl Regular Expression That Matches Prime Numbers by eliben on Sunday December 25, 2011 @10:16PM (#3392131)
Unless I'm missing something obvious, this post lacks a proper attribution. It is an old, very old and very well-known one-liner that made rounds and rounds in the Perl community over the years. Reading Krumins's post one might think he invented it.
Re:A Perl Regular Expression That Matches Prime Numbers by stevecooperorg on Monday December 26, 2011 @03:52AM (#3392563)
possibly added reently, but the last line of the post reads "PS. I didn't invent this regular expression, it was invented in 1998 by Abigail."
Re:A Perl Regular Expression That Matches Prime Numbers by eliben on Monday December 26, 2011 @05:35AM (#3392692)
Yep, it wasn't there when I first looked.
Re:A Perl Regular Expression That Matches Prime Numbers by pkrumins on Monday December 26, 2011 @08:30AM (#3392864)
Yup, I updated the article so it didn't sound like I invented it. Also added a message that it's not a real regular expression.