Regular Expressions Flashcards
1
Q
any single character except newline
A
. (dot)
2
Q
zero or more occurrences of any character
A
*
3
Q
any single character specified in the set
A
[…]
4
Q
any single character not specified in the set
A
[^…]
5
Q
anchor: beginning of the line
A
6
Q
anchor: end of the line
A
$
7
Q
anchor: beginning of word
A
\
8
Q
anchor: end of word
A
>
9
Q
group conditions
A
(…)
10
Q
contents of nth grouping
A
\n