cm0002@lemy.lol to 196@lemmy.blahaj.zone · 10 days agoShadow rule ban listlemy.lolimagemessage-square140fedilinkarrow-up1613arrow-down15file-text
arrow-up1608arrow-down1imageShadow rule ban listlemy.lolcm0002@lemy.lol to 196@lemmy.blahaj.zone · 10 days agomessage-square140fedilinkfile-text
minus-squareŠtěpán@lemmy.cafelinkfedilinkEnglisharrow-up37·10 days agowait couldn’t ([0-9]+)? be simplified to just [0-9]* ?
minus-square[object Object]@lemmy.calinkfedilinkarrow-up34·10 days agoNot if they’re using it as an optional capture group, but they aren’t.
minus-squareKubeRoot@discuss.tchncs.delinkfedilinkEnglisharrow-up5·9 days agoThat’s only if they need to isolate the sequence of numbers after the first 0, otherwise * is already optional.
that’s actually hilarious omg
wait couldn’t
([0-9]+)?be simplified to just[0-9]*?Not if they’re using it as an optional capture group, but they aren’t.
That’s only if they need to isolate the sequence of numbers after the first 0, otherwise
*is already optional.Yes