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

An error in the "extractNamedGroups" method #4

Open
RefaelAdi opened this issue Feb 12, 2023 · 0 comments
Open

An error in the "extractNamedGroups" method #4

RefaelAdi opened this issue Feb 12, 2023 · 0 comments

Comments

@RefaelAdi
Copy link

Hello
I'm using Gradle version 7.1.1 and Java 18
When executing the "extractNamedGroups" I'm getting this:
java.lang.ClassCastException: class java.util.regex.Matcher$ImmutableMatchResult cannot be cast to class java.util.regex.Matcher (java.util.regex.Matcher$ImmutableMatchResult

I found that this occurs in this part of the code:

MatchResult r = matcher.toMatchResult();

Any idea?

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

No branches or pull requests

1 participant