Finding a Regular Expression for an Intersection of Two Regular Expressions
PAIR of regular expressions is ((ss*)t*) and ((ss*) + (tt*)).
How do I find a regular expression that represents the intersection of the languages defined by the pair?
Finding a Regular Expression for an Intersection of Two Regular Expressions
PAIR of regular expressions is ((ss*)t*) and ((ss*) + (tt*)).
How do I find a regular expression that represents the intersection of the languages defined by the pair?
I believe, you can convert both expressions to NFAs, then construct a NFA that is the intersection of both NFAs. From this NFA, convert it into a GNFA and from the GNFA convert it on the regular expression, the result is the intersection of both expressions.