Part II Regular Expression Type equation here 1 Chose matche

Part II: Regular Expression Type equation here. 1. Chose matches for each given basic or extended regular expression (maybe multiple correct matches) e.g. Extended regular expression Tahta b aba Ansumer (Because matched string should begin and end with a and b\' occurs at least once between leading and ending \'a) Note: question 1) to 4) are for basic regular expressions, question 5) to 12) are for extended regular expressions 1) \'a(ab) a\' (a) (ab)a (b) aaba (c) aabab (d) aa(ababaa (e) aa 2) a.[be] Jazbc 3) a 10-9] (a azz 4) \"(very (cool)? (good bad weather (a)good weather (b) (very) good weather (c) cool weather (d) very cool bad weather (e) (very +(cool)?(goodlbad weather (a) abcbc, (b) abcc (c) abc (a) ababc. (b) abs (c abab. (d)be (e)abc. 7) a.[be] )azbc, (b) az (c) azbcbc (d) acc (e)acz

Solution

* (star)Matches the preceding character or subexpression zero or more times
so the answer is :::::::.aaba aa
here start with \"a (or more times ab) a\" both start and end a\'s are single

Matches the preceding character or subexpression one or more times
azbc+,,,azbcbc+,,, here z is (.)

Marks the start and end of a bracket expression.
a01,,,a0a,,,aza here z is (.)

+ Matches the preceding character or subexpression one or more times.
? Matches the preceding character or subexpression zero or one time
| indicates a choice between two or more items.
very good weather

{} Marks the start and end of a quantifier expression.
abc

ababc,,,abc,,,bc,,,abc

azbc,,,azbcbc here z is(.)

\\Marks the next character as a special character, a literal, a backreference, or an octal escape.
easy!,,, game?

start with small letters and end with capital letters between them there may be ?,!, space
book. Z,,,,index?a

(very)+ must include one or more times
(cool)? zero or more times
(good | bad) either of one selected at a time
weather
very good weather

here -? means - may comes zero or more times
-3320

start with either - or a digit or .
-3320 .32

 Part II: Regular Expression Type equation here. 1. Chose matches for each given basic or extended regular expression (maybe multiple correct matches) e.g. Exte

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site