|
|
|
|
|
by lalaithion
2038 days ago
|
|
So why have constructors for every possible set of parameters? Why VerbalExpression.regex()
.startOfLine().then("http").maybe("s")
.then("://")
.maybe("www.").anythingBut(" ")
.endOfLine()
.build();
Instead of new VerbalExpression()
.startOfLine().then("http").maybe("s")
.then("://")
.maybe("www.").anythingBut(" ")
.endOfLine();
|
|