private static bool IsCompliantDtdlName()

in OWL2DTDL/Program.cs [952:967]


        private static bool IsCompliantDtdlName(string inputName) 
        {
            if (inputName.Length > 64)
            {
                return false;
            }
            Regex regex = new Regex("^[a-zA-Z](?:[a-zA-Z0-9_]*[a-zA-Z0-9])?$");

            Match match = regex.Match(inputName);
            if (match.Success)
            {
                return true;
            }

            return false;
        }