Skip to content

martinthomson/abnf2regex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ABNF 2 REGEX

Creates a regular expression from RFC 5234 ABNF.

This is a java package, that can be build as an OSGi bundle.  Source is provided as an Eclipse project.  Test code is in a separate project that builds an OSGi fragment bundle, hosted by the first.  If you don't care for OSGi, that's OK, OSGi bundles are regular jar files.  The main jar file includes a Main-Class directive so that it can be run directly.

To run the tests you need:
* easymock: http://easymock.org/ 
* objenesis: http://objenesis.org/
* cglib: http://cglib.sourceforge.net/

I used the following:
#       easymock-3.3.1.jar
#       objenesis-2.1.jar
#       cglib-nodep-2.2.3.jar (version 3.1 doesn't work!)

 * TODO Complete test harnesses.

 * TODO Add options to allow capture parentheses to be used for certain patterns instead of the non-capturing groups currently used.

 * TODO Complete javadoc on all classses.

About

Tool that creates regular expressions from ABNF (RFC 5234)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages