Regular expression,

50 Views Asked by At

enter image description here

Question 23: The string zyyzy belong to the language, right?

1

There are 1 best solutions below

2
On

$zyyzy$ does belong to the language but not $zyyxz$

Edit : in $zyyzy$ can be split into two : $zyy$ and $zy$ which both belongs to $zy^*$ and therefore $zyyzy$ belongs to $(x^*y|zy^*)^*$