Wildcards and Case Sensitivity Flashcards
What does the wildcard character ? represent?
A single character.
Example usage: Find any word that begins with a ‘b’, has two characters in the middle, and ends in a ‘l’.
Results: bowl, ball, bull
What does the wildcard character * do?
Matches any characters or no characters at all.
Example usage: Find any word that begins with a ‘b’ and ends in a ‘l’.
Results: bowl, ball, bull, bl, bbll, brawl
What does the wildcard character [ ] do?
Matches any words that contain the characters enclosed in the brackets.
Example usage: Find any word that begins with b, contains an a or o as the second character, a l or w as the third character, and ends in a l.
Results: bowl, ball, bull would not be returned as u is not in any set of brackets.