Full Stack Character sheet Flashcards
1
Q
.
A
Any character except new line
2
Q
a
A
the character a
3
Q
ab
A
the string ab
4
Q
a|b
A
a or b
5
Q
a*
A
0 or more a’s
6
Q
\
A
escapes a special character
7
Q
*
A
0 or more
8
Q
+
A
1 or more
9
Q
?
A
0 or 1
10
Q
{2}
A
exactly 2
11
Q
{2,5}
A
between 2 and 5
12
Q
{2,}
A
2 or more
13
Q
[ab-d]
A
one character of: a, b, c, d
14
Q
[^ab-d]
A
one character except: a, b, c, d
15
Q
[\b]
A
backspace character