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

PR 763 - sonar fix test #769

Closed
wants to merge 6 commits into from
Closed

Conversation

fbruton
Copy link
Collaborator

@fbruton fbruton commented May 3, 2024

sonar fix test


/* Remove other junk */
private static final Pattern REMOVE = Pattern.compile("<.+?>|=0D$", Pattern.DOTALL);
private static final Pattern REMOVE = Pattern.compile("<.+>$|=0D$", Pattern.DOTALL);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+? matches the previous token between one and unlimited times, as few times as possible, expanding as needed (lazy)
+ matches the previous token between one and unlimited times, as many times as possible, giving back as needed (greedy)

@fbruton fbruton marked this pull request as draft May 3, 2024 14:05
@fbruton fbruton closed this May 3, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants