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;
21
21
22
22
public class Main {
23
23
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
26
26
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
29
29
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
32
35
}
33
36
}
34
37
```
35
38
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