Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
11 Cards in this Set
- Front
- Back
In general, what do regular expressions provide?
|
A standard, formal way to specify patterns we want to match in an unambiguous way
|
|
What is a regular expression?
|
A string representing a specific pattern by use of an accepted notation, with each character having a specific meaning.
|
|
How does the forward slash \ relate to regular expressions? It is only needed when the next character has both a literal and an alternate meaning.
|
Reg exp's use \'s to signify when the next character has its literal meaning and when it has a special meaning
|
|
Which characters do not match "themselves"?
|
.[{()\*+?|^$
|
|
What serves as a wildcard for any single character?
|
. (period)
|
|
What character makes the characters that follow match according to the "first part of the things being searched for"
|
^
|
|
What character follows characters and matches the "end of a searched item"?
|
$
|
|
What operator will match the preceding atom zero or more times?
|
*
|
|
What operator matches the preceding "atom" zero to one time?
|
?
|
|
What operator will match the preceding atom one ore more times?
|
The + operator.
|
|
How does Bounded Repetition work?
|
a{n} matches a exactly "n" times a{n,} matches 'a' "n" or more times a{n,m} matches 'a' between "n" and "m" times inclusively |