Esempio n. 1
0
        private string[] GetModifiers(string input)
        {
            MatchCollection matches = Regex.Matches(input, RegexUtilities.BuildRegexAlternativeRange(LanguageDescriptor.GetLanguage <CSharpLanguage>().Modifiers));

            string[] output = new string[matches.Count];

            for (int i = 0; i < matches.Count; i++)
            {
                output[i] = matches[i].Value;
            }

            return(output);
        }