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