I have a string like this:
s = "helloworldandhellocodegolf"
I want to make every consonant after a vowel uppercase.
Desired output:
heLloWoRldaNdheLloCoDeGoLf
As you can see, l
gets uppercased because it's right after the vowel e
etc..
If there are repeated vowels, like:
s = "aabeekad"
Desired output:
s = "aaBeeKaD"
This is code-golf, so shortest code in bytes wins.
The consonants are all alphabet characters except for aeiou
.