in reply to regex for trailing zeroes

It seems just replacing * with + does the trick. There's always at least one digit after the dot, right? Just don't use IP addresses in the links.
s/(-?\d\.\d+)/$1 + 0/ge;

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Replies are listed 'Best First'.
Re^2: regex for trailing zeroes
by RonW (Parson) on Feb 27, 2016 at 00:03 UTC

    Domain names are allowed to start with a digit. For example 3m.com