Quick question,
if a is a regular expression then is it true that a* = (a*)* ?
Is (a*)* a valid expression? If it is, then can anyone explain why is it the same as a*? I apologize for asking here, but I couldn’t find anything via Google.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes,
a*=(a*)*are same. Both generate same language that is string any numbers a’s includingnull.L(a*) = {^, a, aa, aa...... } = L ((a*)*)Is
(a*)*a valid expression?why is it the same?
Because
L(a*)means all string consists using a. its supper-set of every set consists of strings of a’s. andL((a*)*)is same.