Regular Expression Operators Flashcards

1
Q

Operator:

.

A

Matches any single character.

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

Operator:

?

A

The preceding item is optional and will be matched, at most, once.

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

Operator:

*

A

The preceding item will be matched zero or more times.

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

Operator:

+

A

The preceding item will be matched one or more times.

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

Operator:

{N}

A

The preceding item is matched exactly N times.

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

Operator:

{N, }

A

The preceding item is matched N or more times.

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

Operator:

{N, M}

A

The preceding item is matched at least N times, but not more than M times.

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

Operator:

-

A

represents the range if it’s not first or last in a list or the ending point of a range in a list.

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

Operator:

A

Matches the empty string at the beginning of a line; also represents the characters not in the range of a list.

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

Operator:

$

A

Matches the empty string at the end of a line.

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

Operator:

\b

A

Matches the empty string at the edge of a word.

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

Operator:

\B

A

Matches the empty string provided it’s not at the edge of a word.

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

Operator:

\<

A

Match the empty string at the beginning of word.

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

Operator:

\>

A

Match the empty string at the end of word.

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