static int count(String word) { final vowels = RegExp(r'[аеёиоуыэюя]'); return vowels.allMatches(word.toLowerCase()).length; }