in reply to Re: Consolidate ranges (quick and dirty with a cool regexp)
in thread Consolidate ranges (quick and dirty with a cool regexp)
Absolutely (and definitely when I'd have to write production code!), but using just basic Perl reduces my cognitive load. And that is also why I framed this as a learning experience and marked it quick & dirty. ;-)
Also good to see the min_range_len option, as I actually don't like ranges of length 2; curious to see the default is 4, I would put it at 3.
(Hmm, so you can use Unicode in general markup, but not in code blocks. Good to know.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Consolidate ranges (quick and dirty with a cool regexp)
by hippo (Archbishop) on Oct 30, 2024 at 11:29 UTC |