-
Notifications
You must be signed in to change notification settings - Fork 0
AZString
Giuseppe Cannella edited this page Feb 19, 2020
·
2 revisions
Type name | example |
---|---|
AZString | abc |
import com.github.gekomad.regexcollection.AZString
import com.github.gekomad.regexcollection.Validate.validate
assert(validate[AZString]("1") == None)
assert(validate[AZString]("テ") == None)
assert(validate[AZString]("abc") == Some("abc"))
assert(validate[AZString]("AbC") == Some("AbC"))