File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ layout: step
3+ title: Counted Repetitions
4+ lang: en
5+ ---
6+ < p >
7+ Words consist of syllables.
8+ Every syllable contains a vocal.
9+ Find all words with two syllables.
10+ </ p >
11+ < div class ="playfield ">
12+ < input type ="text " value ="^$ " class ="regex " reference ="^[^aeiou]*([aeiou]+([^aeiou]+|$)){2}$ ">
13+ < div class ="message "> </ div >
14+ < ul class ="examples ">
15+ < li > circumflex</ li >
16+ < li > dream</ li >
17+ < li > angel</ li >
18+ < li > angst</ li >
19+ < li > honey</ li >
20+ < li > mix</ li >
21+ < li > hundrets</ li >
22+ < li > flowers</ li >
23+ < li > pineapple</ li >
24+ < li > anemone</ li >
25+ < li > yoga</ li >
26+ </ ul >
27+ </ div >
28+ < p class ="hint ">
29+ Create a regular expression for vocals, then for consonants.
30+ The a and the vocals at the end need to be handled separately.
31+ </ p >
You can’t perform that action at this time.
0 commit comments