-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Explain reason why Regexp can not be supported by Xpath #7759
Comments
I'm on it. |
@rnveach This check operates on a plain text file.(java file read as text to obtain any regex pattern) checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/checks/regexp/RegexpCheck.java Lines 598 to 613 in 3b3f724
I am at a dead-end for this check. Also, suggest if any possible changes could be made. |
@romani ping It looks like this check isn't AST based and shouldn't even be |
@DXTkastb Please move forward like I described. This check will never support xpath so it should be removed to avoid any confusion with users. |
Yes, I confirm that this Check is grey area. please update this list item to be this is all that is required to be done in scope of this issue. @DXTkastb , thanks a lot for bringing our attention to this. |
Are you sure about that?
Because if I do it, the test fails
Actually, it fails right here:
I could change XpathRegressionTest.INCOMPATIBLE_CHECK_NAMES but it's used in XpathRegressionTest and it fails if I change it. Also, we may try to add the bottom of list small paragraph that says In my case, result will be like that: |
…upport SuppressionXpathFilter
…upport SuppressionXpathFilter
Child of #5777
This issue specifically focuses on Regexp.
The text was updated successfully, but these errors were encountered: