Loner@lemmy.world to Programmer Humor@programming.devEnglish · 5 days ago"AI is gonne take our jobs." The AI:lemmy.worldexternal-linkmessage-square45fedilinkarrow-up1228arrow-down14
arrow-up1224arrow-down1external-link"AI is gonne take our jobs." The AI:lemmy.worldLoner@lemmy.world to Programmer Humor@programming.devEnglish · 5 days agomessage-square45fedilink
minus-squareIrelephant@lemm.eelinkfedilinkarrow-up0·4 days agostring.contains("something") Just do that repeatedly
minus-squareBassTurd@lemmy.worldlinkfedilinkarrow-up0·4 days agoThe “something” is where the regex goes. For simple cases contains by itself does just fine, but for almost anything kind of dynamic input, it’s going to not be capable of what regex does.
string.contains("something")
Just do that repeatedly
The “something” is where the regex goes. For simple cases contains by itself does just fine, but for almost anything kind of dynamic input, it’s going to not be capable of what regex does.
You’re right, but it was a joke.