cm0002@lemy.lol to 196@lemmy.blahaj.zone · 17 days agoShadow rule ban listlemy.lolimagemessage-square139linkfedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1imageShadow rule ban listlemy.lolcm0002@lemy.lol to 196@lemmy.blahaj.zone · 17 days agomessage-square139linkfedilinkfile-text
minus-squareŠtěpán@lemmy.cafelinkfedilinkEnglisharrow-up0·17 days agowait couldn’t ([0-9]+)? be simplified to just [0-9]* ?
minus-square[object Object]@lemmy.calinkfedilinkarrow-up0·17 days agoNot if they’re using it as an optional capture group, but they aren’t.
minus-squareKubeRoot@discuss.tchncs.delinkfedilinkEnglisharrow-up0·16 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