« Return to Thread: Grammar for parsing regular expression

Re: Grammar for parsing regular expression

by Randall Schulz :: Rate this Message:

Reply to Author | View in Thread

On Wednesday April 15 2009, Krzysztof Langner wrote:
> Hello,
>
> I'm working on grammar for ActionScript language. ...
>
> Since there are regular expression in java I was looking
> for examples in java 1.5 grammar. No luck.

Java doesn't have a special RE syntax. They're encoded in
and compiled from plain old strings.

Also, since you mention ActionScript (of which I know nothing),
I'll point out that there are a great many different surface
syntaxes for notating regular expressions.


> Since I don't want to reinvent wheel :-), anyone knows where I can
> find grammar for javacc with regular expression parsing?

Specifically the REs of ActionScript?


> Thank you in advance
> Krzysztof


Randall Schulz

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: Grammar for parsing regular expression