Skip to content

Commit ae27360

Browse files
Merge pull request #9 from gabriel-logan/main
Update README.md
2 parents 1abcd0a + fc52264 commit ae27360

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,19 @@ import io.github.multiform_validator.CnpjValidator;
2121

2222
public class Main {
2323
public static void main(String[] args) {
24-
System.out.println(emailValidator.isEmail("[email protected]")); // true
25-
System.out.println(emailValidator.isEmail("foo@bar")); // false
24+
System.out.println(EmailValidator.isEmail("[email protected]")); // 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.

0 commit comments

Comments
 (0)