Regelexpressionen Bedeutung Python Flashcards

1
Q

[abc]

A

A, B oder C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

[^abc]

A

Alles außer a, b oder c

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

[a-z]

A

Alle kleinen Buchstaben im normalen Alphabet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

$

A

Ende einer Zeile

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

.

A

Alle Zeichen außer \n

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

\s

A

Alle Leerzeichen

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

\d

A

Alle Zahlen

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

(a|b)

A

A oder B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

a?

A

0 oder 1 Mal a

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

a*

A

Beliebig viele a

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

a+

A

Mindestens 1 a

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

a{3}

A

Genau 3 a

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

a {3,6}

A

Zwischen 3 und 6 a

How well did you know this?
1
Not at all
2
3
4
5
Perfectly