World's most popular travel blog for travel bloggers.

Regular expression syntax

, , No Comments
Problem Detail: 

am a little confused by regular expression to convert to NFAs. am actually test using

but some of regular expression like


is that mean (a*)+ is that correct ..



how can i get b*+ or that mean (ab*)+ i do not know how to get it ?

however is the (a*)+ is the same a+ , i think will match the same ?

Asked By : Yassine
Answered By : David Richerby

From the examples you give, the site you're using appears to be using "+" to mean "or". Other people use "|" for that but both notations are common enough that they can be called standard.

Best Answer from StackOverflow

Question Source :

3200 people like this

 Download Related Notes/Documents


Post a Comment

Let us know your responses and feedback