- }
- # Works if $word is in singular form.
- # Checking if $word ends on one of the vowels: е, ё, и, о, ы, э, ю, я.
- elseif ( preg_match( "/[аæеёиоыэюя]$/u", $word ) ) {
+ } elseif ( preg_match( "/[аæеёиоыэюя]$/u", $word ) ) {
+ # Works if $word is in singular form.
+ # Checking if $word ends on one of the vowels: е, ё, и, о, ы, э, ю, я.