Cheap and Secure Web Hosting Provider : See Now

Regular expression syntax

, , No Comments
Problem Detail: 

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

http://www.regexr.com/

but some of regular expression like

a*+ab

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

also

ab*+bc*

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 : http://cs.stackexchange.com/questions/35568

3200 people like this

 Download Related Notes/Documents

0 comments:

Post a Comment

Let us know your responses and feedback