Loner@lemmy.world to Programmer HumorEnglish · 19 hours ago"AI is gonne take our jobs." The AI:lemmy.worldimagemessage-square39fedilinkarrow-up1251arrow-down15
arrow-up1246arrow-down1image"AI is gonne take our jobs." The AI:lemmy.worldLoner@lemmy.world to Programmer HumorEnglish · 19 hours agomessage-square39fedilink
minus-squareIrelephant@lemm.eelinkfedilinkarrow-up1·5 hours agostring.contains("something") Just do that repeatedly
minus-squareBassTurd@lemmy.worldlinkfedilinkarrow-up1·39 minutes 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.