Skip to content
Tim Bourguignon edited this page Mar 11, 2014 · 1 revision

Ranges are expressed via the NumberInRange(string) function. The range is expressed in standard regular expression syntax: "min-max", ex: "1-42".

For instance, the following will produce the following regex ([1-4]|5) which matches one number between 1 and 5:

var result = se
    .NumberInRange("1-5")
    .Generate();
Clone this wiki locally