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

Incomplete group expression #128

Closed
ctwinovalon opened this issue May 31, 2024 · 4 comments
Closed

Incomplete group expression #128

ctwinovalon opened this issue May 31, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@ctwinovalon
Copy link

Testing the fix for #125 and the error now shows "[MLEVISF] Something went wrong while running CATS: java.lang.IllegalArgumentException: Incomplete group expression at position=2"

Presumably the previous example api json should work for this.

@ctwinovalon ctwinovalon added the bug Something isn't working label May 31, 2024
@en-milie
Copy link
Contributor

I’ve tested with that json and it’s working fine. Might be another regex that fails to generate a proper value.

@en-milie
Copy link
Contributor

en-milie commented Jun 3, 2024

@ctwinovalon can you please run cats with --verbosity DETAILED --debug and paste here the regex that fails?

@ctwinovalon
Copy link
Author

Here you go!

 [*******][MLEVISF] Γù» Field initialLoginUrl has an associated schema
  [*******][MLEVISF] Γù» Generate for pattern ^(?i)(http:\/\/|https:\/\/)([a-z0-9./\-_.~+=:;%&?]+)$ min 11
  5 max 115
  [*******][MLEVISF] Γù» RGX generator failed, returning empty.: com.github.curiousoddman.rgxgen.parsing.d
  flt.RgxGenParseException: Unexpected symbol in pattern:
  '^(?i)(ht'
      ^

@en-milie
Copy link
Contributor

en-milie commented Jun 7, 2024

It should be fixed in: https://github.com/Endava/cats/releases/tag/cats-11.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants