in reply to Removing padding from numeric IP addresses
update: hehe, lemming had a good point in CB, i forgot about the ^ :) corrected.
update2: coyotte also gets a good point in his reply, so here is another update :)
update3: and still, our great tye discovered another bug :) and yes, his solution is ofc good (s/(\.|^)\b0+\B/$1/g). ah, for the record, ofc that i like coyotte's solution 2, is the nicest :)
--
AltBlue.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Removing padding from numeric IP addresses
by Coyote (Deacon) on Jan 27, 2001 at 05:11 UTC | |
|
(tye)Re: Removing padding from numeric IP addresses
by tye (Sage) on Jan 27, 2001 at 05:24 UTC |