Doesn't work for some regular expression
Closed this issue · 4 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. Download included jUnit-Testcase, place in src/test/java/nl/flotsam/
xeger and run test.
2. Check the values for the tests where xeger fails
Expected output?
For every possible java regex a random string that matches the regex.
What do you see instead?
That the library only supports a certain very restricted subset of the
possible regular expression java.util.regex.Pattern understands.
Actually it also supports regular expressions which aren't supported in
java.
Either you should provide info on what kind of regular expressions xeger
supports (hint:http://www.brics.dk/automaton/doc/index.html?dk/brics/
automaton/RegExp.html).
Or fix the library (extend the used automaton library?) to support the yet
unsupported parts of the java regular expression syntax.
I'm using revision 4 from SVN and java 1.6
Original issue reported on code.google.com by obhvsbyp...@gmail.com
on 20 Oct 2009 at 11:28
Attachments:
GoogleCodeExporter commented
Spot on. I think the only thing I can do for now is add more documentation on
what is supported and what isn't.
Original comment by wilfreds...@gmail.com
on 26 Nov 2009 at 9:08
GoogleCodeExporter commented
Original comment by wilfreds...@gmail.com
on 26 Nov 2009 at 9:09
- Changed state: Accepted
GoogleCodeExporter commented
Original comment by wilfreds...@gmail.com
on 26 Nov 2009 at 9:10
- Changed state: Started
GoogleCodeExporter commented
Added a note on the frontpage.
Original comment by wilfreds...@gmail.com
on 26 Nov 2009 at 9:19
- Changed state: Fixed