Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
image text in transcribed
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), 5), 6), 11). e.g. 'ab+a" (extended regex) a) ababa b) aba c)abba 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') Note: 5) to 12) are extended regexes. 5) "[a-z] (\+[a-z])+' (a) a+b+c (b) +b (C) x (d) x+1 (e) x+a 6) a.[bc]+ (a)azbc (b) az (c) azbcbc (d) acc (e)acz 7) a.[0-9]' (a)azz (b) az (c) a01 (d) ala (e)aza 8) "[a-z]+[\.\?!) (a good! (b) Book. (c) hard? (d) cool?hot (e)nothing

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 19c DBA By Examples Installation And Administration

Authors: Ravinder Gupta

1st Edition

B09FC7TQJ6, 979-8469226970

More Books

Students also viewed these Databases questions

Question

(g) In what sub-space of the data space must the point y then lie?

Answered: 1 week ago

Question

Which team solution is more likely to be pursued and why?

Answered: 1 week ago

Question

Did the team members feel that their work mattered

Answered: 1 week ago