Skip to content

RegexpSingleline/RegexpSinglelineJava - No column in error message #12818

Closed Answered by romani
VirtualTim asked this question in Q&A
Discussion options

You must be logged in to vote

We match line by line, we never thought about matching and printing columns of all matching positions of groups. If you see how can we improve logging of violation , please let us know.
If Java implmnetation of regexp able to get columns for groups, we just need to figureout how to make fancy formatting of message to print columns is user required. Can you write some simple java code that does this, we print messages by String.format.
We need some flexible parameters.... uh ...... It might be better to write custom applicaiton to do this as you need after checkstyle validation, based on checkstyle report.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
5 replies
@VirtualTim
Comment options

@VirtualTim
Comment options

@romani
Comment options

@VirtualTim
Comment options

@romani
Comment options

Answer selected by rnveach
Comment options

You must be logged in to vote
2 replies
@VirtualTim
Comment options

@romani
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants