@NateNate60 to Programmer [email protected] • edit-26 hours agoOh boy what a beautiful regex. I'm sure it does something logical and easy to understand.imagemessage-square25arrow-up188arrow-down12file-text
arrow-up186arrow-down1imageOh boy what a beautiful regex. I'm sure it does something logical and easy to understand.@NateNate60 to Programmer [email protected] • edit-26 hours agomessage-square25file-text
^.?$|^(..+?)\1+$ <answer> Matches strings of any character repeated a non-prime number of times https://www.youtube.com/watch?v=5vbk0TwkokM
minus-square@fubolink6•edit-21 hour agoWhatever you do, don’t get in a time machine back to 1998 and become a Unix sysadmin. (Though we didn’t have CL-PPCRE then. It’s really the best thing that ever happened to regex.)
minus-square@[email protected]linkfedilinkEnglish2•1 hour agoI upvoted you because I consider Perl write only (used to know it, now it inspires readable code as a high priority)
I upvoted this because I hate it.
Whatever you do, don’t get in a time machine back to 1998 and become a Unix sysadmin.
(Though we didn’t have CL-PPCRE then. It’s really the best thing that ever happened to regex.)
I upvoted you because I consider Perl write only (used to know it, now it inspires readable code as a high priority)