Though this could be done with the regex argument, I think having the default behaviour reject an empty string is probably a good one (otherwise it'd get confused with being optional). Will implement as an additional allowempty argument that defaults to False.
Though this could be done with the regex argument, I think having the default behaviour reject an empty string is probably a good one (otherwise it'd get confused with being optional). Will implement as an additional `allowempty` argument that defaults to `False`.
Add kwarg to StringSpec to check if a string is not empty (and probably default it to True)
Though this could be done with the regex argument, I think having the default behaviour reject an empty string is probably a good one (otherwise it'd get confused with being optional). Will implement as an additional
allowemptyargument that defaults toFalse.Added in
f27f8f1865