예제 #1
0
        public static bool IsCapitalizedCase(string inToken)
        {
            var  matcher = patternCP_.Match(inToken);
            bool flag    = !DigitPuncTokenUtil.IsDigitPunc(inToken) && matcher.Success;

            return(flag);
        }
예제 #2
0
        // public methods
        public static bool IsLowerCase(string inToken)
        {
            // can not be pure digit and Punc
            var  matcher = patternLC_.Match(inToken);
            bool flag    = !DigitPuncTokenUtil.IsDigitPunc(inToken) && matcher.Success;

            return(flag);
        }
예제 #3
0
        public static bool IsMixedCased(string inToken)
        {
            bool flag = !DigitPuncTokenUtil.IsDigitPunc(inToken) && !IsLowerCase(inToken) && !IsUpperCase(inToken) && !IsCapitalizedCase(inToken);

            return(flag);
        }