Constructing a DFA from a Regular Expression: How to Handle * and () Operators?

  • Thread starter Thread starter l flipboi l
  • Start date Start date
  • Tags Tags
    Automata Dfa
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
l flipboi l
Messages
3
Reaction score
0

Homework Statement


Construct a DFA based on the regular express.

Regular expr = *a(ab)*c*


Homework Equations


How do you construct a DFA out of this regular expr?

The Attempt at a Solution


Here's what I think it says...

it can accept 0 or more a,c, and ordered pair of ab.



the construction of the DFA is where I am stuck.
 
Physics news on Phys.org
doh! yeah it's a*(ab)*c*