I'm trying to create the context free grammar which generates all regular expressions over {a,b} with at least one Kleene star. What I've done so far is this:
S ::= A + S | A
A ::= B . A | B
B ::= T | B* | (S)
T ::= a | b | eps
I suppose this can generate all regular expressions, but what I can't get my head around is how to define it so that at least one Kleene star needs to be in that expression.