Question: 9) '[a-t]+[.?!+]' (a)bash! (b) (c) Java? (d) python! (@)c++ 10) [a-z]+[. ?!]s*[A-Z]' (hint: s matches any whitespace characters) (a)o. year (b)x?y (c) U.S. (d) Hello!HELLO

 9) '[a-t]+[\.\?!+]' (a)bash! (b) (c) Java? (d) python! (@)c++ 10) "[a-z]+[\.
\?!]\s*[A-Z]' (hint: \s matches any whitespace characters) (a)o. year (b)x?y (c) U.S.

9) '[a-t]+[\.\?!+]' (a)bash! (b) (c) Java? (d) python! (@)c++ 10) "[a-z]+[\. \?!]\s*[A-Z]' (hint: \s matches any whitespace characters) (a)o. year (b)x?y (c) U.S. (d) Hello!HELLO (e)index?a 11) '(very\s)?(cool\s]+(good bad) weather (a)very weather (b) very cool weather (c) good weather (d) very cool good weather (e)cool bad weather 12) --?([0-9]C[1-9][0-9]))' (a) 123 (b)-123 (C)-O (d) -2.2 (e) 1.2 13) -?[0-9]*\.?[0-9]" (a)123 (b)-123 (c) - (d) -2.2 (e) 1.2 Part II: Regular Expression 1. Chose match(es) for each given basic/extended regular expression (maybe multiple correct matches) and describe the pattern of matched string for 3), 4), 6), 11). e.g. 'ab+a' (extended regex) a) ababa b) aba c )abb, d)aabbaa ejaa Answer: b,c; Pattern : The matched string should begin and end with 'a' and 'b'occurs at least once between leading and ending 'a')

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!