Skip to content
Tim Bourguignon edited this page Mar 8, 2014 · 2 revisions

Use One(char) to define a character. Use OneOf(string) to define a range a-g ("a to g") or a set ag ("a or g").

The following will produce the following regular expression a[ij][x-z]:

var result = se
    .One('a')
    .OneOf("ij")
    .OneOf("x-z")
    .Generate();
Clone this wiki locally