Comment on Hey looky! I'm on a list a just learned about three minutes ago!
kkj@lemmy.dbzer0.com 1 day agoOn top of that, [0-9]+ matches one or more digits and ()? matches the previous token zero or one times, so the whole thing combines to zero or more digits, which is just [0-9]*. They’re even bad at regex.
SeductiveTortoise@piefed.social 1 day ago
Fucking up regex is a sacred tradition!
cockmushroom@reddthat.com 1 day ago
No it’s not
SeductiveTortoise@piefed.social 1 day ago
OK, this person nailed it on the first try. But besides them, I know nobody who didn’t fuck them up once or twice.