upperToLowerPattern property
RegExp('([A-Z])(?:•)*([A-Z][a-z])')
matches uppercase char to uppercase followed by lowercase char
| uses the placeholder to replace/format matches in string
- default:
•
The default placeholder can be overridden via setUp.placeholder
matches:
- sybmolizes seperation of groups
- STRANGECase
E-Ca- camelCase
l-C- PascalCase
l-C
does not match:
- camelCase
- PascalCase
- kebab-case
- snake_case
- no case
Implementation
static final upperToLowerPattern =
RegExp('([A-Z])(?:${getPlaceholder()})*([A-Z][a-z])');