Full Stack Character sheet Flashcards

1
Q

.

A

Any character except new line

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

a

A

the character a

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

ab

A

the string ab

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

a|b

A

a or b

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

a*

A

0 or more a’s

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

\

A

escapes a special character

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

*

A

0 or more

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

+

A

1 or more

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

?

A

0 or 1

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

{2}

A

exactly 2

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

{2,5}

A

between 2 and 5

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

{2,}

A

2 or more

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

[ab-d]

A

one character of: a, b, c, d

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

[^ab-d]

A

one character except: a, b, c, d

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

[\b]

A

backspace character

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

\d

A

one digit

17
Q

\D

A

one non-digit

18
Q

\s

A

one whitespace

19
Q

\S

A

one non-whitespace

20
Q

\w

A

one word character

21
Q

\W

A

one non-word character

22
Q
A

start of string

23
Q

$

A

end of string

24
Q

i

A

ignore case

25
Q

\n

A

newline

26
Q

\r

A

carriage return

27
Q

\t

A

tab