Question
A. The string case OR the string CASE: ___________________________________________________________________ __ B. The string moose OR the string meeses: _____________________________________________________________________ C. The string CBC OR the
A. The string case OR the string CASE: ___________________________________________________________________
__ B. The string moose OR the string meeses: _____________________________________________________________________
C. The string CBC OR the string Columbia Basin College: _____________________________________________________________________
D. The string CS followed by three numbers, OR the string CSIA with no trailing numbers. For example, CS332 or CSIA. Hint youll need to use parentheses. _____________________________________________________________________
E. The string case OR the string CASE followed by three numbers. For example, case332 or CASE229. _____________________________________________________________________
F. The string CS followed by three numbers, OR the string CSIA followed by three numbers. For example, CS332 or CSIA429. _____________________________________________________________________
6.22 This exercise provides practice with regular expressions using positional modifiers. For each of the following, write the correct regular expression:
A. The string CBC at the beginning of a line: _____________________________________________ B. The string CBC at the end of a line: _____________________________________________
C. The string CBC with whitespace before and after the string. Hint use quotes to show the whitespace. _____________________________________________
D. The string CBC as a separate word: ____________________________________________
E. The string edu as a separate word: _____________________________________________
F. A simple phone number at the end of a line. You can assume the phone number is of the form xxx-xxxx where x is a number: _____________________________________________
G. A simple phone number with whitespace before and after the phone number:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started