With the Maybe method, you can specify that the argument is optional.
Maybe
The following will for instance match http:// and https:// via the expression http(s)?://:
http://
https://
http(s)?://
var result = se .Text("http") .Maybe("s") .Text("://") .Generate();
There was an error while loading. Please reload this page.