We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now, users need to specify up to how many times a pattern should be repeated explicitly.
@ParameterSource public Regex.Factory<String> scenario() { return Regex.Factory.of("open deposit(deposit|withdraw|transfer){0,2}getBalance"); }
However, a syntax sugar such as + and * are useful and intuitive.
+
*
@ParameterSource public Regex.Factory<String> scenario() { return Regex.Factory.of("open deposit(deposit|withdraw|transfer)+ getBalance"); }
?
{0,1}
{1,2}
{0,2}
The text was updated successfully, but these errors were encountered:
dakusui
No branches or pull requests
Right now, users need to specify up to how many times a pattern should be repeated explicitly.
However, a syntax sugar such as
+
and*
are useful and intuitive.?
will be translated to{0,1}
+
will be translated to{1,2}
*
will be translated to{0,2}
The text was updated successfully, but these errors were encountered: