Exam 7: Working With Regular Expressions

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Which of the character classes can be used to match any lowercase letter?

(Multiple Choice)
4.7/5
(39)

In regular expressions, every character inside a pattern is taken literally, with the exception of metacharacters, which are assigned a special meaning.

(True/False)
4.8/5
(29)

The + metacharacter modifier is used to set up pattern matches of one or more instances of the preceding character.

(True/False)
4.8/5
(37)

By default, regular expressions perform case sensitive searches. You can override this behavior sing the ____ modifier?

(Multiple Choice)
4.8/5
(36)

The ____ metacharacter modifier is used to search a string for one or zero instances of a character in the preceding characters.

(Multiple Choice)
4.8/5
(40)

You can disable case-sensitivity using the optional /c modifier as demonstrated here: /USA/c

(True/False)
4.8/5
(35)

Which of the following regular expression metacharacters matches any non-numeric character?

(Multiple Choice)
4.7/5
(28)

Which of the following character classes can be used to match a complete list of vowels?

(Multiple Choice)
4.8/5
(40)

The ____ metacharacter modifier is used to search a string for zero or more instances of a character.

(Multiple Choice)
4.9/5
(33)

Which of the following regular expression metacharacters matches any one character?

(Multiple Choice)
4.9/5
(29)
Showing 41 - 50 of 50
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)