File tree 6 files changed +32
-34
lines changed
6 files changed +32
-34
lines changed Original file line number Diff line number Diff line change 5
5
---
6
6
< p >
7
7
You can find words by wrapping them in spaces.
8
- Try to find the word "geben ", not the word "umgeben " or "vergebens "
8
+ Try to find the word "day ", not the word "someday " or "birthdays "
9
9
by using the word with spaces.
10
10
</ p >
11
11
< div class ="playfield ">
12
12
< input type ="text " value ="" class ="regex " reference =" geben ">
13
13
< div class ="message "> </ div >
14
14
< ul class ="examples ">
15
- < li > Wir sind umgeben von </ li >
16
- < li > Leuten, die gerne was geben, </ li >
17
- < li > wenn es nicht vergebens ist. </ li >
15
+ < li > We have to go shopping someday. </ li >
16
+ < li > Another day, I don't have time right now. </ li >
17
+ < li > All these birthdays are killing me! </ li >
18
18
</ ul >
19
- </ div >
19
+ </ div >
Original file line number Diff line number Diff line change 8
8
Many programming languages use the character "|" as a replacement for "or".
9
9
</ p >
10
10
< p >
11
- In the following list, you can filter all villages
12
- which contain < span class ="regex "> hausen </ span > or < span class ="regex "> roda </ span >
13
- by writing < span class ="regex "> hausen|roda </ span > .
14
- I read < span class ="regex "> hausen|roda </ span > like "hausen or roda ".
11
+ In the following list, you can filter all cities
12
+ which contain < span class ="regex "> ham </ span > or < span class ="regex "> New </ span >
13
+ by writing < span class ="regex "> ham|New </ span > .
14
+ I read < span class ="regex "> ham|New </ span > like "ham or New ".
15
15
To write the character < span class ="regex "> |</ span > ,
16
16
you can use the key next to the return key on the right side of the keyboard.
17
17
</ p >
18
18
< div class ="playfield ">
19
- < input type ="text " value ="" class ="regex " reference ="hausen|roda ">
19
+ < input type ="text " value ="" class ="regex " reference ="ham|New ">
20
20
< div class ="message "> </ div >
21
21
< ul class ="examples ">
22
- < li > Waltershausen </ li >
23
- < li > Friedrichroda </ li >
24
- < li > Tabarz </ li >
25
- < li > Fischbach </ li >
26
- < li > Zeulenroda </ li >
27
- < li > Vieselbach </ li >
28
- < li > Sondershausen </ li >
29
- < li > Sömmerda </ li >
22
+ < li > Nottingham </ li >
23
+ < li > Newcastle </ li >
24
+ < li > Birmingham </ li >
25
+ < li > New York </ li >
26
+ < li > Northampton </ li >
27
+ < li > London </ li >
28
+ < li > Hampstead </ li >
29
+ < li > New Orleans </ li >
30
30
</ ul >
31
- </ div >
31
+ </ div >
Original file line number Diff line number Diff line change 1
1
---
2
2
layout: step
3
- title: sets
3
+ title: Sets
4
4
lang: en
5
5
---
6
6
< p >
Original file line number Diff line number Diff line change 18
18
< span class ="regex "> .*</ span > can be used if you do not care about some content.
19
19
</ li >
20
20
< li >
21
- < span class ="regex "> \w</ span > is for letters in < strong > w</ strong > ords.
21
+ < span class ="regex "> \w</ span > is for letters in < strong > w</ strong > ords.
22
22
< span class ="regex "> \w</ span > is the same as < span class ="regex "> [0-9a-zA-Z]_</ span > .
23
23
</ li >
24
24
< li >
29
29
you can use the capital letter e.g. < span class ="regex "> \S</ span > .
30
30
</ p >
31
31
< p >
32
- The following text is from "Die Zwölf Weihnachtsfeiertage " by Gerhard Schone
33
- [< a target ="_blank " href ="http ://www.sing365.com/music/lyric.nsf/Die-Zw%C3%B6lf-Weihnachtsfeiertage- lyrics-Gerhard-Schone/D41B005B291D4040482578D4001AB755 "> source</ a > ].
32
+ The following text is from "The Twelve Days of Christmas " by Harry Belafonte
33
+ [< a target ="_blank " href ="https ://www.sing365.com/lyrics/The-Twelve-Days-of-Christmas- lyrics-Harry-Belafonte/BC1DF2E550EB342CA3330E17C8693FEA "> source</ a > ].
34
34
Here, animals are counted.
35
35
Find all lines in which a number is followed by space followed by a word.
36
36
</ p >
37
37
< div class ="playfield ">
38
38
< input type ="text " value ="" class ="regex " reference ="\d\s\w ">
39
39
< div class ="message "> </ div >
40
40
< ul class ="examples ">
41
- < li > Am 5. Weihnachtstag </ li >
42
- < li > schenkte mir mein lieber Schatz </ li >
43
- < li > 5 Füllhörner </ li >
44
- < li > 4 Pfirsiche </ li >
45
- < li > 3 Drosselchen </ li >
46
- < li > 2 Zwiebelchen </ li >
47
- < li > und für’n Birnenbaum 1 Spatz .</ li >
41
+ < li > On the 5th day of Christmas </ li >
42
+ < li > my true love sent to me </ li >
43
+ < li > 5 golden rings </ li >
44
+ < li > 4 calling birds </ li >
45
+ < li > 3 French hens </ li >
46
+ < li > 2 turle doves </ li >
47
+ < li > and a partridge in a pear tree .</ li >
48
48
</ ul >
49
- </ div >
49
+ </ div >
Original file line number Diff line number Diff line change 4
4
lang: en
5
5
---
6
6
< p >
7
- HTML ist die Sprache, mit der Webseiten geschrieben werden.
8
7
HTML is the language used to write websites.
9
8
HTML tags start with < span class ="regex "> <</ span > end and with < span class ="regex "> ></ span > .
10
9
in between there is text.
35
34
At the bottom you can find the regular expressions.
36
35
The language HTML can not be described using a regular expression.
37
36
But, parts if the language like tags can be described using a regular expression.
38
- </ p >
37
+ </ p >
Original file line number Diff line number Diff line change 1
-
2
1
---
3
2
layout: step
4
3
title: Wiederholungen Zählen
You can’t perform that action at this time.
0 commit comments