cm0002@lemy.lol to 196@lemmy.blahaj.zone · 8 天前Shadow rule ban listlemy.lolimagemessage-square132linkfedilinkarrow-up1613arrow-down15file-text
arrow-up1608arrow-down1imageShadow rule ban listlemy.lolcm0002@lemy.lol to 196@lemmy.blahaj.zone · 8 天前message-square132linkfedilinkfile-text
minus-squareŠtěpán@lemmy.cafelinkfedilinkEnglisharrow-up37·8 天前wait couldn’t ([0-9]+)? be simplified to just [0-9]* ?
minus-square[object Object]@lemmy.calinkfedilinkarrow-up34·8 天前Not if they’re using it as an optional capture group, but they aren’t.
minus-squareKubeRoot@discuss.tchncs.delinkfedilinkEnglisharrow-up5·7 天前That’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