Regular Expression Parsing In Java

A

ArdGre

Hi,

My program must take a regular expression as input and be able to tell
whether its a valid one or not.

In doing so I am not allowed to use any inbuilt java libraries but have
to create my own context free grammar to parse it.

The regular expression can contain parantheses, kleene closure and
union operator ( that is '|' ).

Please help.

Regards,
Arvind
 
D

Daniel Pitts

ArdGre said:
Hi,

My program must take a regular expression as input and be able to tell
whether its a valid one or not.

In doing so I am not allowed to use any inbuilt java libraries but have
to create my own context free grammar to parse it.

The regular expression can contain parantheses, kleene closure and
union operator ( that is '|' ).

Please help.

Regards,
Arvind

Here's my help:
Write a class, or pay someone else to help you :)

I do private tutoring for $20/hr
 
M

Mike Schilling

ArdGre said:
Hi,

My program must take a regular expression as input and be able to tell
whether its a valid one or not.

In doing so I am not allowed to use any inbuilt java libraries but have
to create my own context free grammar to parse it.

The regular expression can contain parantheses, kleene closure and
union operator ( that is '|' ).

Please help.

Investigate the parsing techniques your class has recently studied.
Determine which would be useful here. Apply them.
 
J

jupiter

Daniel Pitts said:
I have in the past. Its a very competitive rate. Right now I'm a
fulll
time S.E.
Competitive isn't the word.

I'll have to remember in case I get stuck. Are you on PayPal?
 
D

Daniel Pitts

jupiter said:
Competitive isn't the word.

I'll have to remember in case I get stuck. Are you on PayPal?

No I'm not on PayPal. I did private tutoring at the college where I was
studying, and took cash/checks.
If you don't have any "Urgent" requests, cljp is the right place to go
for help. And it's cheaper. :)
 
J

jupiter

Daniel Pitts said:
If you don't have any "Urgent" requests, cljp is the right place
to go
for help. And it's cheaper. :)

cljp? Something-something Java Project?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top