6
putnam
7y

How do you generate a regular expression: a* ?

Any idea?

Comments
  • 1
    In which language? What are you searching for?

    Most are /REGEX_HERE/FLAGS
  • 0
    @itsdaniel0 i am trying to make a code in java that checks a string if it is inside the set of the regular expression. There are only a & b string, ex. ab, a*b*, a U b*,ab* U b, b*a* U a(b* U a*)*and etc.. And *, concatenation, and Union is the only operation.
  • 0
    @itsdaniel0 elements generated by the regular expression.
  • 1
    @putnam I'm really not understanding. I've not worked with Java, but I imagined the regex concept to be similar 🤔
  • 0
    @itsdaniel0 ok. Still thanks though
  • 7
    All i'm saying is: in order to get help you must first learn how to get help.
Add Comment