in reply to Re: match-time pattern interpolation
in thread match-time pattern interpolation
Oops. To clarify, the string could contain any number of numbers, some that are subsequent and some that are not.
For example, $number_set could be "6 7 8 9 10 15 20 21", which after regex substitution would be "6-10 15 20-21".
|
|---|