@bluelovers/to-regex-range2

Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.

Browse on unpkg