-
Notifications
You must be signed in to change notification settings - Fork 0
Base constructs
Tim Bourguignon edited this page Mar 8, 2014
·
11 revisions
The Alphanumerics, Letters & Numbers wildcards can be used to specify ensembles of characters.
The following example defines the following regular expression accepting letters, then numbers: [a-zA-Z]*[0-9]*
var result = se
.Letters
.Numbers
.Generate();
The basic constructs amount to "one or more" letter/number/alphanumeric character. To qualify the number of elements you wish to be allowed, used the qualifiers AtLeast, AtMost(), Exactly() modifiers.
var result = se
.Letters.AtLeast(1)
.Numbers.AtLeast(1).AtMost(2)
.Generate();