in reply to Re: Re: eliding number rangesin thread eliding number ranges
The regex matches the leading nulls, and length counts them. substr skips that many chars in $s and prints the rest.