File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -21,16 +21,19 @@ import io.github.multiform_validator.CnpjValidator;
2121
2222public class Main {
2323 public static void main (String [] args ) {
24- System . out. println(emailValidator . isEmail(" foo@bar.com" )); // true
25- System . out. println(emailValidator . isEmail(" foo@bar" )); // false
24+ System . out. println(EmailValidator . isEmail(" foo@bar.com" )); // true
25+ System . out. println(EmailValidator . isEmail(" foo@bar" )); // false
2626
27- System . out. println(cpfValidator . cpfIsValid(" 123.456.789-09" )); // true
28- System . out. println(cpfValidator . cpfIsValid(" 123.456.789-00" )); // false
27+ System . out. println(CpfValidator . cpfIsValid(" 123.456.789-09" )); // true
28+ System . out. println(CpfValidator . cpfIsValid(" 123.456.789-00" )); // false
2929
30- System . out. println(cnpjValidator. cnpjIsValid(" 12.345.678/0001-09" )); // true
31- System . out. println(cnpjValidator. cnpjIsValid(" 12.345.678/0001-00" )); // false
30+ System . out. println(CnpjValidator . cnpjIsValid(" 12.345.678/0001-09" )); // true
31+ System . out. println(CnpjValidator . cnpjIsValid(" 12.345.678/0001-00" )); // false
32+
33+ System . out. println(Validator . isAscii(" foo" )); // true
34+ System . out. println(Validator . isAscii(" foo©" )); // false
3235 }
3336}
3437```
3538
36- Lib is in development, there's other validators that you can use, but they are not yet documented.
39+ Lib is in development, there's other validators that you can use, but they are not yet documented.
You can’t perform that action at this time.
0 commit comments