Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • 7
    what did you try? Commented Jun 8, 2014 at 15:42
  • First question should be: Can we define such a list? With S-> aS|b, b index would be "Infinite" Commented Jun 8, 2014 at 17:52
  • 1
    Correction, I used a grammar description (even if the expression itself is a regex)... maybe it would be more familiar to you as a*b Commented Jun 8, 2014 at 17:55
  • Could you show what you are intending with a trivial example and its solution? Preferably, one example with and one without the Kleene star. You might want to consider restricting the regular language further to the finite languages and star-free languages. Commented Jun 9, 2014 at 14:22
  • @MichaelT check the edit i have added an example. Commented Jun 9, 2014 at 16:17