Closed
Description
This rule only works when strictly using the 26 english characters hard coded in the regex.
const PASCAL_CASE_REGEX = /^([A-Z0-9]|[A-Z0-9]+[a-z0-9]+(?:[A-Z0-9]+[a-z0-9]))$/;
In order to support all cased languages, how do you feel about modifying the casing check for example using a technique similar to this (to detect letters):
function isLetter(c) {
return c.toLowerCase() != c.toUpperCase();
}