I'm not sure if this is the right place to ask, but since my examples come from a UX element that seems common in our world.
When a user opens the "Print" dialog of most programs, where you're asked "What page(s) would you like to print?" So, you have a list of values, most commonly a few random numbers and/or a few number-ranges, where you dash-delimit your continuous ranges, and you comma-separate distinct values or additional value-ranges.
So if the user wants their application to print just pages "one to three, five, and eight to nine", the notation would be "1-3,5,8-9". Also accepted is "1-3,5,8,9".
So what do we call this notation/pattern? Is there a specific name for this pattern?