sabreW4K3@lazysoci.al to RegEx@programming.dev · 1 month agoWhy won't this work?lazysoci.alimagemessage-square12fedilinkarrow-up19file-text
arrow-up19imageWhy won't this work?lazysoci.alsabreW4K3@lazysoci.al to RegEx@programming.dev · 1 month agomessage-square12fedilinkfile-text
(?<!\d)\d+\.\d+ should match the numbers at the end of the lines and yet it won’t. What am I doing wrong?
minus-squarebizdelnick@lemmy.mllinkfedilinkarrow-up2·1 month agoBTW if you don’t need to capture the number, \d$ should match what you need. If regex syntax supports \d, of course.
minus-squaresabreW4K3@lazysoci.alOPlinkfedilinkarrow-up1·1 month agoThe number is the bit I want to capture.
BTW if you don’t need to capture the number,
\d$
should match what you need. If regex syntax supports\d
, of course.The number is the bit I want to capture.