Question: 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

 Part II: Regular Expression 1. Chose match(es) for each given basic/extendedregular expression (maybe multiple correct matches) and describe the pattern of matched

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 aba d)aabbaa e)aa Answer: b,c; Pattern: The matched string should begin and end with 'a and b' occurs at least once between leading and ending 'a') 1) 'a(ab)*a (a)ababa (b) aaba (c) aabab (d) aabbaa (e)aa (a) abc (b) abc (c ab d) a? e abcbc 3) [nd" (a) wind (b) window (c) end (d) good (e)will a-z]+[0-91 a) a++ (b) a (c)6+ (d) a+6 (e) aa+1 5) 'a(alb)*a, (a)ababa ( aaba (c)aabab (d) aabbaa (e)aa 6) a-z(+[a-z0-9])+ (a) x+9 (b)xty (c) 1 (b) az (c) azbcbc (d) acc (eacz (b)a ab(d) abc (e)aaa (d)y(e) x++y 7) 'a (bc)*z' (a)azbc (a)a 1

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!