We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8893d2e commit 48ba769Copy full SHA for 48ba769
lib/src/utils/validators.dart
@@ -338,11 +338,11 @@ bool isColorCode(String value,
338
}
339
340
int uppercaseCharLength(String value) {
341
- return value.replaceAll(RegExp(r'[^A-Z]'), '').length;
+ return value.replaceAll(RegExp(r'[^A-ZÑ]'), '').length;
342
343
344
int lowercaseCharLength(String value) {
345
- return value.replaceAll(RegExp(r'[^a-z]'), '').length;
+ return value.replaceAll(RegExp(r'[^a-zñ]'), '').length;
346
347
348
int numberCharLength(String value) {
0 commit comments