to Regex Range
Content Type: Module
Categories: Utility
Overview
Pass two numbers, get a regex-compatible source string for matching ranges.
Documentation
Pass two numbers, get a regex-compatible source string for matching ranges.
Features
General:
- minValue - Min Value.
- maxValue - Max Value.
- Capture - Wrap the returned value in parentheses when there is more than one regex condition. Useful when you're dynamically generating ranges.
- shorthand- Use the regex shorthand for [0-9].
- relaxZeros- This option relaxes matching for leading zeros when when ranges are zero-padded.
Dependencies:
• Mendix modeler 9.24.18.
Issues, suggestions and feature requests
Releases
Version: 1.0.0
Framework Version: 9.24.18
Release Notes: Pass two numbers, get a regex-compatible source string for matching ranges.
**Features**
**General**:
• **minValue** - Min Value.
• **maxValue** - Max Value.
• **Capture** - Wrap the returned value in parentheses when there is more than one regex condition. Useful when you're dynamically generating ranges.
• **shorthand**- Use the regex shorthand for [0-9].
• **relaxZeros**- This option relaxes matching for leading zeros when when ranges are zero-padded.
**Dependencies:**
• Mendix modeler 9.24.18.
**Issues, suggestions and feature requests**
[https://github.com/bharathidas/to-regex-range/issues](https://github.com/bharathidas/to-regex-range/issues)