Skip to content

Commit 0b2fc86

Browse files
committed
docs: update README.md
1 parent f2807c7 commit 0b2fc86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ struct RegistrationView: View {
303303
| `URLValidationRule` | Validates URL format | `URLValidationRule(error: "Please enter a valid URL")` |
304304
| `CreditCardValidationRule` | Validates credit card numbers (Luhn algorithm) | `CreditCardValidationRule(error: "Invalid card number")` |
305305
| `EmailValidationRule` | Validates email format | `EmailValidationRule(error: "Please enter a valid email")` |
306+
| `CharactersValidationRule` | Validates that a string contains only characters from the allowed CharacterSet | `CharactersValidationRule(characterSet: .letters, error: "Invalid characters")` |
306307

307308
## Custom Validators
308309

0 commit comments

Comments
 (0)