Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception expected not empty string #11

Open
GoogleCodeExporter opened this issue Dec 29, 2015 · 0 comments
Open

Exception expected not empty string #11

GoogleCodeExporter opened this issue Dec 29, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Have an invalid pattern (e.g. (.{12})&(a{3}).
2. Ensure assertions are disabled.
3. Generate pattern based on invalid pattern.

What is the expected output? What do you see instead?
I expect an exception.
I get the empty string ("").
The empty string is however valid for some patterns (such as a*).

What version of the product are you using? On what operating system?
Latest version on windows.

Please provide any additional information below.
The patterns are not under my control: I get them at run-time.
I would like to inform the users of their incorrect pattern, but I can't check 
that! 

Original issue reported on code.google.com by [email protected] on 20 Dec 2013 at 9:51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant